From 59796d2683418d086e98ee46e0b9973baa907d0e Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期三, 28 一月 2026 19:49:38 +0800
Subject: [PATCH] 1

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
index 25f749f..f87b6bf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
@@ -393,7 +393,7 @@
                                 _stockRepository.Db.Updateable<Dt_StockInfoDetail>().SetColumns(it => new Dt_StockInfoDetail
                                 {
                                     Status = StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt()
-                                }).Where(it => it.StockId == stockInfo.Id).ExecuteCommand();
+                                }).Where(it => it.OrderNo == inboundOrder.InboundOrderNo).ExecuteCommand();
                             }
                             else
                             {
@@ -460,7 +460,7 @@
                                 _stockRepository.Db.Updateable<Dt_StockInfoDetail>().SetColumns(it => new Dt_StockInfoDetail
                                 {
                                     Status = StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt()
-                                }).Where(it => it.StockId == stockInfo.Id).ExecuteCommand();
+                                }).Where(it => it.OrderNo == inboundOrder.InboundOrderNo).ExecuteCommand();
                             }
                             else
                             {

--
Gitblit v1.9.3