Commit 869e1a6a authored by zhengyi's avatar zhengyi

订单的出货审批状态更新bug修复

parent c16a8845
......@@ -4440,8 +4440,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
BoxCheckOrderApprovalEvent boxCheckOrderApprovalEvent = new BoxCheckOrderApprovalEvent(orderDO.getOrderId(), orderDO.getContainerNumber(), auditType, auditResult, false);
applicationContext.publishEvent(boxCheckOrderApprovalEvent);
if (boxCheckOrderApprovalEvent.getIsExists()) {
orderDO.setAuditType(auditType);
orderDO.setAuditResult(auditResult);
orderDO.setAuditType(boxCheckOrderApprovalEvent.getAuditType());
orderDO.setAuditResult(boxCheckOrderApprovalEvent.getAuditResult());
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment