From 7803a1f8d35c9b80ae07f14c60f871a74a5aebd6 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 31 三月 2026 15:28:00 +0800
Subject: [PATCH] 更新领料判断

---
 项目资料/变更管理/龙利得项目需求变更确认书-20260327.doc                                  |    0 
 项目资料/变更管理/龙利得项目需求变更确认书-20260311.doc                                  |    0 
 项目资料/变更管理/龙利得项目需求变更确认书-20251226.doc                                  |    0 
 项目代码/WCS/WCSServices/WIDESEAWCS_Tasks/成品仓/ConveyorLineJob_CPC.cs     |    2 +-
 项目资料/变更管理/龙利得项目需求变更确认书-20260323 .doc                                 |    0 
 项目代码/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs |    3 ++-
 6 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Tasks/\346\210\220\345\223\201\344\273\223/ConveyorLineJob_CPC.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Tasks/\346\210\220\345\223\201\344\273\223/ConveyorLineJob_CPC.cs"
index 3b09885..049f254 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Tasks/\346\210\220\345\223\201\344\273\223/ConveyorLineJob_CPC.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Tasks/\346\210\220\345\223\201\344\273\223/ConveyorLineJob_CPC.cs"
@@ -103,7 +103,7 @@
                                 isUpdate = true;
                                 WriteInfo("鐮佸灈宸ヤ綅鐘舵�佹洿鏂�",$"{item.StationCode}{DateTime.Now}鏇存柊宸ヤ綅鐘舵��:{conveyorLineInfoRead.Command}");
                             }
-                            else if (item.IsOccupied == 0)
+                            else if ((conveyorLineInfoRead == null ||(conveyorLineInfoRead != null && conveyorLineInfoRead.Command != 10 && item.IsOccupied == 0)))
                             {
                                 item.IsOccupied = 1;
                                 isUpdate = true;
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
index 08abc09..2128eda 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
@@ -902,7 +902,7 @@
                 #region 棰嗘枡閫昏緫
                 foreach (var item in stockInfos)
                 {
-                    if (item.StockStatus==StockStatusEmun.鍑哄簱瀹屾垚.ObjToInt())
+                    if (item.StockStatus==StockStatusEmun.鍑哄簱瀹屾垚.ObjToInt() || item.StockStatus==StockStatusEmun.鑰佸巶閫�鏂欐殏瀛�.ObjToInt())
                     {
                         item.StockLength = 0;
                         item.MaterielWeight = 0;
@@ -915,6 +915,7 @@
                 }
                 #endregion
                 List<Dt_OutLineView> outLineViewsDel = _outboundRepository.OutLineViewRepository.QueryData(x => stockInfos.Select(x=>x.PalletCode).Contains(x.PalletCode));
+                //鏁版嵁搴撴搷浣�
                 _unitOfWorkManage.BeginTran();
                 _stockRepository.StockInfoRepository.UpdateData(stockInfos);
                 _outboundRepository.OutStockLockInfoRepository.UpdateData(outStockLockInfos);
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20251226.doc" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20251226.doc"
new file mode 100644
index 0000000..28d080f
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20251226.doc"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260311.doc" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260311.doc"
new file mode 100644
index 0000000..c0697ac
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260311.doc"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260323 .doc" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260323 .doc"
new file mode 100644
index 0000000..9595218
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260323 .doc"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260327.doc" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260327.doc"
new file mode 100644
index 0000000..df73023
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\345\217\230\346\233\264\347\256\241\347\220\206/\351\276\231\345\210\251\345\276\227\351\241\271\347\233\256\351\234\200\346\261\202\345\217\230\346\233\264\347\241\256\350\256\244\344\271\246-20260327.doc"
Binary files differ

--
Gitblit v1.9.3