From 00a72fff219241eb5b0405a066cc859d07cf7735 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 17 九月 2025 10:23:44 +0800
Subject: [PATCH] 1111

---
 service/Warehouse/MesCprkManager.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/service/Warehouse/MesCprkManager.cs b/service/Warehouse/MesCprkManager.cs
index 731906d..f6b7b34 100644
--- a/service/Warehouse/MesCprkManager.cs
+++ b/service/Warehouse/MesCprkManager.cs
@@ -4,7 +4,8 @@
 using NewPdaSqlServer.DB;
 using NewPdaSqlServer.Dto.service;
 using NewPdaSqlServer.entity;
-using NewPdaSqlServer.util;
+using SqlSugar;
+using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
 
 namespace NewPdaSqlServer.service.Warehouse;
 
@@ -31,8 +32,7 @@
         using (var conn = new SqlConnection(DbHelperSQL.strConn))
         {
             if (unity.userName.IsNullOrEmpty()) throw new Exception("鐢ㄦ埛鍚嶄笉鍏佽涓虹┖");
-            if (unity.sectionCode.IsNullOrEmpty())
-                throw new Exception("搴撲綅缂栧彿涓嶅厑璁镐负绌�");
+            if (unity.sectionCode.IsNullOrEmpty()) throw new Exception("搴撲綅缂栧彿涓嶅厑璁镐负绌�");
             if (unity.barcode.IsNullOrEmpty()) throw new Exception("鏉$爜涓嶅厑璁镐负绌�");
 
             using (var cmd = new SqlCommand("[prc_pda_inv_cprk]", conn))
@@ -48,7 +48,8 @@
                         new("@po_womInBarSum", SqlDbType.NVarChar, 300),
                         new("@pi_user", unity.userName),
                         new("@pi_barcode", unity.barcode),
-                        new("@pi_sectionCode", unity.sectionCode)
+                        new("@pi_sectionCode", unity.sectionCode),
+
                     };
                     parameters[0].Direction = ParameterDirection.Output;
                     parameters[1].Direction = ParameterDirection.Output;
@@ -66,6 +67,7 @@
                     return _strMsg;
 
                     //return 0;
+
                 }
                 catch (Exception ex)
                 {

--
Gitblit v1.9.3