上下架读取商品名称

master
e 2019-08-12 05:29:48 +08:00
parent 72481cc609
commit 2340ea2323
1 changed files with 7 additions and 0 deletions

View File

@ -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){