From 8936b00d5ad9fadabbf519e93bd71beaef249e0d Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 08 三月 2024 15:12:16 +0800 Subject: [PATCH] 修复bug 插入库存为0的明细 --- src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java index e419763..92ad0ce 100644 --- a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java @@ -544,7 +544,7 @@ wrkDetl.setBatch(locDto.getBatch()); wrkDetl.setOrderNo(locDto.getOrderNo()); wrkDetl.setAnfme(locDto.getAnfme()); // 浣滀笟鏁伴噺 - wrkDetl.setStock(locDto.getStock()); + wrkDetl.setStock(locDto.getStock());//鎬诲簱瀛� wrkDetl.setAppeTime(now); wrkDetl.setAppeUser(userId); wrkDetl.setModiTime(now); @@ -568,6 +568,7 @@ wrkDetl.setBatch(locDto.getBatch()); wrkDetl.setOrderNo(orderDto.getOrderNo()); wrkDetl.setAnfme(orderDto.getAnfme()); // 鏁伴噺 + wrkDetl.setStock(locDto.getStock());//鎬诲簱瀛� wrkDetl.setAppeTime(now); wrkDetl.setAppeUser(userId); wrkDetl.setModiTime(now); -- Gitblit v1.9.1