From ff8b20f321a8b70ec3bdc208b9f383fd71718108 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期二, 28 四月 2026 08:48:38 +0800
Subject: [PATCH] 4-28测试重入问题后全部的项目文件提交

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
index 68682db..99d3eaf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
@@ -28,6 +28,8 @@
         /// <returns></returns>
         public WebResponseContent InboundBoxingAction(SaveModel saveModel)
         {
+            LogRecord.WriteLog((int)LogEnum.InBound, $"{DateTime.Now},杞存壙鍏ュ簱缁勭洏 鍒涘缓浜簕UserContext.Current.UserTrueName} 鎵樼洏鍙凤細{saveModel.MainData["rfid"].ToString()}");
+
             WebResponseContent content = new WebResponseContent();
             try 
             {
@@ -164,6 +166,9 @@
                     info.mesInfo_bak_3 = Standard_value; // 浠ュ悗鏍囧噯鍊间粠杩欓噷鑾峰彇 鑲栦郊鏂板
                     info.mesInfo_bak_4 = Placeoforigin; // 杞存壙鐨勪骇鍦�
 
+                    Dt_boxing_headRepository.Instance.Add(newBoxHead, true);
+                    Dt_boxing_detailRepository.Instance.Add(newBoxDetail, true);
+                    Dt_mes_goods_infoRepository.Instance.Add(info, true);
 
                     //鑾峰彇绌鸿揣浣�
                     Dt_locationinfo emptyLocation;
@@ -206,9 +211,7 @@
 
 
 
-                    Dt_boxing_headRepository.Instance.Add(newBoxHead, true);
-                    Dt_boxing_detailRepository.Instance.Add(newBoxDetail, true);
-                    Dt_mes_goods_infoRepository.Instance.Add(info, true);
+                    
 
                     //鑾峰彇浠诲姟
                     Dt_taskinfo tmpTaskInfo = CommonFunction.AddWMSTask_BoxPalletIn(emptyLocation, rfid, materielId, qrCode, materielType);

--
Gitblit v1.9.3