uniapp接口更新-波次分拣

master
erzhongxmu 2022-08-20 11:00:18 +08:00
parent 8b968bce9a
commit b3fa4f18e9
1 changed files with 2 additions and 0 deletions

View File

@ -457,6 +457,7 @@ public class WaveToFjController extends BaseController {
if (wmOmQmI != null&&wmOmQmI.getBinSta().equals("H")) { if (wmOmQmI != null&&wmOmQmI.getBinSta().equals("H")) {
wmOmQmI.setBinSta("Y"); wmOmQmI.setBinSta("Y");
wmOmQmI.setSecondRq(waveToFj.getSecondRq()); wmOmQmI.setSecondRq(waveToFj.getSecondRq());
wmOmQmI.setUpdateBy(waveToFj.getCreateBy());//分拣人
systemService.saveOrUpdate(wmOmQmI); systemService.saveOrUpdate(wmOmQmI);
String hql = "From WmOmQmIEntity where omNoticeId = ? and binSta = ?"; String hql = "From WmOmQmIEntity where omNoticeId = ? and binSta = ?";
List<WmOmQmIEntity> listom = systemService.findHql(hql,wmOmQmI.getOmNoticeId(),"H"); List<WmOmQmIEntity> listom = systemService.findHql(hql,wmOmQmI.getOmNoticeId(),"H");
@ -467,6 +468,7 @@ public class WaveToFjController extends BaseController {
} }
WmOmNoticeHEntity wmom = systemService.findUniqueByProperty(WmOmNoticeHEntity.class, "omNoticeId", omnoticeid); WmOmNoticeHEntity wmom = systemService.findUniqueByProperty(WmOmNoticeHEntity.class, "omNoticeId", omnoticeid);
wmom.setOmSta("操作中"); wmom.setOmSta("操作中");
systemService.updateEntitie(wmom); systemService.updateEntitie(wmom);
D0.setOK(true); D0.setOK(true);
} }