diff --git a/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/service/impl/ProScheduleServiceImpl.java b/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/service/impl/ProScheduleServiceImpl.java index da11d31..07d6e66 100644 --- a/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/service/impl/ProScheduleServiceImpl.java +++ b/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/service/impl/ProScheduleServiceImpl.java @@ -42,28 +42,44 @@ public class ProScheduleServiceImpl implements IProScheduleService { @Override public List getProScheduleLists(ProScheduleDto dto) { List list = new ArrayList<>(); - list = mapper.getProScheduleLists(dto); + try { + list = mapper.getProScheduleLists(dto); + } catch (Exception e) { + log.error("获取工程进度列表",e); + } return list; } @Override public List getGxPlanLists(GxPlanDto dto) { List list = new ArrayList<>(); - list = mapper.getGxPlanLists(dto); + try { + list = mapper.getGxPlanLists(dto); + } catch (Exception e) { + log.error("获取工序计划列表",e); + } return list; } @Override public AjaxResult getGxPlansIsDela(ProScheduleDto dto) { List list = new ArrayList<>(); - list = mapper.getGxPlansIsDela(dto); + try { + list = mapper.getGxPlansIsDela(dto); + } catch (Exception e) { + log.error("工序计划延期提醒",e); + } return AjaxResult.success(list); } @Override public List getGxPlanProgressLists(ProScheduleDto dto) { List list = new ArrayList<>(); - list = mapper.getGxPlanProgressLists(dto); + try { + list = mapper.getGxPlanProgressLists(dto); + } catch (Exception e) { + log.error("获取工序计划进度列表",e); + } return list; }