From ad4d32dc4e162ba7fb71cd3bc213f1d71c964551 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 13 五月 2025 14:30:57 +0800
Subject: [PATCH] 最新代码上传

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs"
index a2e1a4c..6a41a2b 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs"
@@ -78,12 +78,10 @@
                     {
                         return content.Error(inProRespone.Message);
                     }
+                    _proInStatisticsService.SaveStatic(bagInfoModel);
                     return content.OK(inProRespone.Message);
                 }
-                else if (isValid)
-                {
-
-                }
+                
                 foreach (var item in bagInfoModel.BagDetails)
                 {
                     if (proDetailsExists.Contains(item.BagNo))
@@ -170,9 +168,9 @@
                 int taskId = BaseDal.AddData(newTask);
                 newTask.TaskId = taskId;
                 Db.InsertNav(proStockInfo).Include(x => x.proStockInfoDetails).ExecuteCommand();
-                
                 //涓婁紶ERP
                 WebResponseContent responseContent = _inboundOrderService.FeedbackProIn(mesProInOrder);
+                _proInStatisticsService.SaveStatic(bagInfoModel);
                 if (!responseContent.Status)
                 {
                     mesProInOrder.UpErpStatus = WhetherEnum.False.ObjToInt();

--
Gitblit v1.9.3