diff --git a/nladmin-system/wms-server/src/main/java/org/nl/wms/pda_manage/ios_manage/purchase/service/impl/InboundPdaServiceImpl.java b/nladmin-system/wms-server/src/main/java/org/nl/wms/pda_manage/ios_manage/purchase/service/impl/InboundPdaServiceImpl.java index 7307d8c..99aa092 100644 --- a/nladmin-system/wms-server/src/main/java/org/nl/wms/pda_manage/ios_manage/purchase/service/impl/InboundPdaServiceImpl.java +++ b/nladmin-system/wms-server/src/main/java/org/nl/wms/pda_manage/ios_manage/purchase/service/impl/InboundPdaServiceImpl.java @@ -193,11 +193,6 @@ public class InboundPdaServiceImpl implements InboundPdaService { iMdPbGroupplateService.save(groupDao); }); - //更新单据状态已创建 - purchaseService.lambdaUpdate().eq(Purchasemst::getBill_id, dto.getBill_id()) - .set(Purchasemst::getBill_status, PurchaseBillStatus.EXECUTING.getCode()); - - JSONObject result = new JSONObject(); result.put("success", true); result.put("message", "组盘提交成功"); @@ -273,13 +268,7 @@ public class InboundPdaServiceImpl implements InboundPdaService { GroupPlateInboundDto groupPlateInboundDto = new GroupPlateInboundDto(); groupPlateInboundDto.setSect_code(sectDao.getSect_code()); groupPlateInboundDto.setVehicle_code(storagevehicleCode); - InboundPdaServiceImpl thisBean = SpringContextHolder.getBean(this.getClass()); - thisBean.submitGroupPlateInbound(groupPlateInboundDto, false); - - PurchaseListenerParams purchaseListenerParams = new PurchaseListenerParams(); - purchaseListenerParams.setBillId(usualInboundDto.getBill_id()); - purchaseListenerParams.setDetailItem(items); - pushEvent(purchaseListenerParams); + this.submitGroupPlateInbound(groupPlateInboundDto, false); } @Override