From 5707781039b9d902ce1d2d6727fba65bbab14574 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期六, 13 九月 2025 17:02:06 +0800
Subject: [PATCH] 异常单回滚

---
 WebApi/Gs.Wom/Service/MesScrkDjManager.cs |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/WebApi/Gs.Wom/Service/MesScrkDjManager.cs b/WebApi/Gs.Wom/Service/MesScrkDjManager.cs
index 5a11070..428ebf4 100644
--- a/WebApi/Gs.Wom/Service/MesScrkDjManager.cs
+++ b/WebApi/Gs.Wom/Service/MesScrkDjManager.cs
@@ -10,15 +10,14 @@
 using static Gs.Toolbox.UtilityHelper;
 
 
-namespace Gs.Warehouse.Services;
+namespace Gs.Wom.Service;
 
 [ApiGroup(ApiGroupNames.PerMission)]
-public class MesScrkDjManager : IRomteService
+public class MesScrkDjManager :IRomteService
 {
     private readonly IHttpContextAccessor _http;
 
     private readonly string _userCode, _userGuid, _orgFids;
-
     public MesScrkDjManager(IHttpContextAccessor httpContextAccessor)
     {
         _http = httpContextAccessor;
@@ -81,7 +80,7 @@
         {
             LogHelper.Debug(ToString(), ex.Message);
             return ReturnDto<PageList<dynamic>>.QuickReturn(_pglist,
-                ReturnCode.Exception, ex.Message);
+          ReturnCode.Exception, ex.Message);
         }
 
         return ReturnDto<PageList<dynamic>>.QuickReturn(_pglist,
@@ -145,7 +144,7 @@
     {
         string _guid = mode.guid;
         string _inFieldValue = mode.inFieldValue;
-        var _proName = "prc_scrkdj_submit";
+        string _proName = "prc_scrkdj_submit";
         dynamic m = new ExpandoObject();
         m.outSum = -1;
         m.outMsg = "";
@@ -159,7 +158,7 @@
                     cmd.CommandType = CommandType.StoredProcedure;
                     SqlParameter[] parameters =
                     {
-                        new("@outMsg", SqlDbType.NVarChar, 2500),
+                         new("@outMsg", SqlDbType.NVarChar, 2500),
                         new("@outSum", SqlDbType.Int),
                         new("@inEdtUserGuid", _userGuid),
                         new("@inOrderGuid", _guid),
@@ -189,7 +188,7 @@
                 }
             }
         }
-
         return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, "鎿嶄綔鎴愬姛锛�");
     }
+
 }
\ No newline at end of file

--
Gitblit v1.9.3