From 63e94e068622d4ef843cee0d19d4f2d231316304 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期五, 25 七月 2025 17:20:38 +0800
Subject: [PATCH] 完善查询语句, 日志记录的封装

---
 wms/SYSHelper.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/wms/SYSHelper.cs b/wms/SYSHelper.cs
index d075833..4fca456 100644
--- a/wms/SYSHelper.cs
+++ b/wms/SYSHelper.cs
@@ -9,6 +9,9 @@
 using System.Threading.Tasks;
 
 namespace HH.WCS.Mobox3.DSZSH.wms {
+    /// <summary>
+    /// [ 搴忓垪鍙风敓鎴�] 甯姪绫�+    /// </summary>
     internal class SYSHelper {
         private static object locker = new object();
         internal static int GetSerialNumber(string snType, string prefix) {
@@ -33,7 +36,7 @@
                 else {
                     //鎻掑叆琛�                     sId = new OI_SYS_MAXID { CN_S_TYPE = snType, CN_S_PRE = prefix, CN_N_MAX = 1 };
-                    result = db.Insertable<OI_SYS_MAXID>(sId).ExecuteCommand() > 0 ? 1 : 0;
+                    result = db.Insertable(sId).ExecuteCommand() > 0 ? 1 : 0;
 
                 }
             }

--
Gitblit v1.9.1