fix:监听器采购单单据状态修复

This commit is contained in:
zhaoyf
2026-06-13 17:35:42 +08:00
parent 4d2320bc45
commit 3307fff9ca

View File

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