diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/InboundBatchServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/InboundBatchServiceImpl.java index 5ebe06e7..a49e46d7 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/InboundBatchServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/InboundBatchServiceImpl.java @@ -111,6 +111,10 @@ public class InboundBatchServiceImpl implements IInboundBatchService updateTyre.setInventoryStatus("0"); // 入库后库存状态更新为在仓(0=在仓,1=出仓,NULL=已发货待入库) updateTyre.setUpdateBy(operName); // 记录更新人 updateTyre.setUpdateTime(now); // 记录更新时间 + + // 按照杨万里要求:更新创建人 + updateTyre.setCreateBy(operName); + int tyreRows = baseTyreMapper.updateBaseTyre(updateTyre); // 执行更新 if (tyreRows <= 0) {