入库、出货通知接口未加入创建时间的问题

master
hst 2021-09-28 13:56:21 +08:00
parent 87c3751b3a
commit 73ae9e633a
1 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,7 @@ public class WmsApiController {
String noticeid = wmUtil.getNextNoticeid(wmImNoticeH.getOrderTypeCode()) ; String noticeid = wmUtil.getNextNoticeid(wmImNoticeH.getOrderTypeCode()) ;
wmImNoticeH.setNoticeId(noticeid); wmImNoticeH.setNoticeId(noticeid);
wmImNoticeH.setCreateDate(DateUtils.getDate());
WmPlatIoEntity wmPlatIo = new WmPlatIoEntity(); WmPlatIoEntity wmPlatIo = new WmPlatIoEntity();
wmPlatIo.setCarno(wmImNoticeH.getImCarNo()); wmPlatIo.setCarno(wmImNoticeH.getImCarNo());
wmPlatIo.setDocId(wmImNoticeH.getNoticeId()); wmPlatIo.setDocId(wmImNoticeH.getNoticeId());
@ -591,6 +592,7 @@ public class WmsApiController {
systemService.save(wmPlatIo); systemService.save(wmPlatIo);
wmOmNoticeH.setOmNoticeId(noticeid); wmOmNoticeH.setOmNoticeId(noticeid);
wmOmNoticeH.setOmSta(Constants.wm_sta1); wmOmNoticeH.setOmSta(Constants.wm_sta1);
wmOmNoticeH.setCreateDate(DateUtils.getDate());
if(wmOmNoticeH.getCusCode()==null){ if(wmOmNoticeH.getCusCode()==null){
if(StringUtil.isNotEmpty(wmUtil.getCusCode())){ if(StringUtil.isNotEmpty(wmUtil.getCusCode())){
wmOmNoticeH.setCusCode(wmUtil.getCusCode()); wmOmNoticeH.setCusCode(wmUtil.getCusCode());