diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/OdsProcureOrderServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/OdsProcureOrderServiceImpl.java index 4061ef7e..2a66fd76 100644 --- a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/OdsProcureOrderServiceImpl.java +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/OdsProcureOrderServiceImpl.java @@ -2060,12 +2060,16 @@ public class OdsProcureOrderServiceImpl implements IOdsProcureOrderService { wmsRawOrderIn.setAccountingMessage(result2.getMsg()); wmsRawOrderIn.setUserDefined4(MATERIALDOCUMENT); wmsRawOrderIn.setUserDefined5(MATDOCUMENTYEAR); + wmsRawOrderIn.setLastModifiedBy(SecurityUtils.getUsername()); + wmsRawOrderIn.setReceiptOperator(SecurityUtils.getUsername()); wmsRawOrderInMapper.updateWmsRawOrderIn(wmsRawOrderIn); }else { //失败了 wmsRawOrderIn.setAccountingTime(new Date()); wmsRawOrderIn.setAccountingMessage(result2.getMsg()); + wmsRawOrderIn.setLastModifiedBy(SecurityUtils.getUsername()); + wmsRawOrderIn.setReceiptOperator(SecurityUtils.getUsername()); wmsRawOrderInMapper.updateWmsRawOrderIn(wmsRawOrderIn); }