From 430404d69be9b5d420ad12b9ac087508f1fa2aca Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期一, 23 十二月 2024 17:46:40 +0800
Subject: [PATCH] 出入库测试稳定版

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
index dfd5943..c1331a9 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
@@ -104,17 +104,17 @@
                     WebResponseContent? responseContent = (WebResponseContent?)methodInfo.Invoke(this, new object[] { task });
                     if (responseContent != null)
                     {
-                        if (App.User.UserId > 0)
-                        {
-                            var response = HttpHelper.Post<WebResponseContent>(url + "StackCraneTaskCompleted?taskNum=" + task.TaskNum, "", "浠诲姟瀹屾垚");
-                            if (!response.Status)
-                            {
-                                _unitOfWorkManage.RollbackTran();
-                                return WebResponseContent.Instance.Error(response.Message);
-                            }
-                            _unitOfWorkManage.CommitTran();
-                            return content = responseContent;
-                        }
+                        //if (App.User.UserId > 0)
+                        //{
+                        //    var response = HttpHelper.Post<WebResponseContent>(url + "StackCraneTaskCompleted?taskNum=" + task.TaskNum, "", "浠诲姟瀹屾垚");
+                        //    if (!response.Status)
+                        //    {
+                        //        _unitOfWorkManage.RollbackTran();
+                        //        return WebResponseContent.Instance.Error(response.Message);
+                        //    }
+                        //    _unitOfWorkManage.CommitTran();
+                        //    return content = responseContent;
+                        //}
                         _unitOfWorkManage.CommitTran();
                         return content = responseContent;
                     }

--
Gitblit v1.9.3