diff --git a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java index 1b71a3e6..a98b5f7d 100644 --- a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java +++ b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java @@ -963,6 +963,13 @@ for (WmInQmIEntity wmInQmIEntity : wmInQmIso) { try{ WmImNoticeHEntity wmImNoticeHEntity = systemService.findUniqueByProperty(WmImNoticeHEntity.class,"noticeId",wmInQmI.getImNoticeId()); wmInQmI.setCusCode(wmImNoticeHEntity.getCusCode()); + if(StringUtil.isNotEmpty(wmInQmI.getCusCode())){ + + MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class,"keHuBianMa",wmInQmI.getCusCode()); + if(mdcus!=null){ + wmInQmI.setCusName(mdcus.getZhongWenQch()); + } + } wmInQmI.setImCusCode(wmImNoticeHEntity.getImCusCode()); }catch (Exception e){