From 55cf91cfcde9201fe28093fbd141520e654ab8ab Mon Sep 17 00:00:00 2001
From: TanYibin <5491541@qq.com>
Date: Wed, 2 Aug 2023 22:27:10 +0800
Subject: [PATCH] 组盘明细状态BUG修复

---
 huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java | 3 +++
 1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java b/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java
index 122495c..39ed670 100644
--- a/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java
+++ b/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java
@@ -226,6 +226,9 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> impl
             receiptDetail1.setId(receiptDetail.getId());
             receiptDetail1.setTaskQty(receiptTaskQty);
             receiptDetail1.setStatus(QuantityConstant.RECEIPT_HEADER_RECEIVING);
+            if (receiptTaskQty.equals(receiptQty)) {
+                receiptDetail1.setStatus(QuantityConstant.RECEIPT_HEADER_WAIT_SHELF);
+            }
             receiptDetailList.add(receiptDetail1);
 
             LambdaQueryWrapper<ReceiptContainerDetail> receiptContainerDetailLambdaQueryWrapper = Wrappers.lambdaQuery();
--
libgit2 0.22.2