From 1b3db8f5683373dd8e179b006e7314783dd1f9db Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期三, 10 九月 2025 14:42:12 +0800
Subject: [PATCH] 文件补充

---
 WebApi/Gs.Ww/ProductionOrderManager.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/WebApi/Gs.Ww/ProductionOrderManager.cs b/WebApi/Gs.Ww/ProductionOrderManager.cs
index d445cd6..e75855d 100644
--- a/WebApi/Gs.Ww/ProductionOrderManager.cs
+++ b/WebApi/Gs.Ww/ProductionOrderManager.cs
@@ -25,6 +25,7 @@
                 GetUserGuidAndOrgGuid(_http);
         }
 
+
         /// <summary>
         ///     璇诲彇鍒楄〃锛屾敮鎸佸垎椤�
         /// </summary>
@@ -182,9 +183,9 @@
                     {
                         LogHelper.Debug(ToString(),
                             "prc_ww_rwd_dj_submit error锛�" + ex.Message);
-                        m.outMsg = ex.Message;
-                        m.outSum = -1;
-
+                        return ReturnDto<dynamic>.QuickReturn(m,
+                            ReturnCode.Default,
+                            ex.Message);
                     }
                     finally
                     {
@@ -192,12 +193,8 @@
                     }
                 }
             }
-            if (m.outSum <= 0)
-                return ReturnDto<dynamic>.QuickReturn(m,
-                               ReturnCode.Default,
-                              "鎿嶄綔澶辫触锛�");
             return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success,
-              "鎿嶄綔鎴愬姛锛�");
+                "鎿嶄綔鎴愬姛锛�");
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3