|
@@ -1021,7 +1021,7 @@ public class TaskController extends BladeController {
|
|
|
}
|
|
|
try {
|
|
|
jdbcTemplate.execute("UPDATE s_material_start_statement SET pre_pdf_url = null WHERE meter_period_id = " + periodId + " and is_deleted = 0 and type = 1");
|
|
|
- } catch (DataAccessException e) {
|
|
|
+ } catch (Exception e) {
|
|
|
throw new ServiceException("删除假电签地址失败");
|
|
|
}
|
|
|
} else if (task.getMeterTaskType().equals(3)) {
|
|
@@ -1055,7 +1055,7 @@ public class TaskController extends BladeController {
|
|
|
}
|
|
|
try {
|
|
|
jdbcTemplate.execute("UPDATE s_material_start_statement SET pre_pdf_url = null WHERE meter_period_id = " + periodId + " and is_deleted = 0 and type = 2");
|
|
|
- } catch (DataAccessException e) {
|
|
|
+ } catch (Exception e) {
|
|
|
throw new ServiceException("删除假电签地址失败");
|
|
|
}
|
|
|
|