From db1354703659bf1d7d16dc769f5ab8dcdc961552 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 22 Mar 2024 18:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=BA=8F=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ProScheduleServiceImpl.java | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) 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; }