From e19f8a13e2b35e6836ce46c17402c44327814a00 Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期四, 18 十二月 2025 09:14:36 +0800
Subject: [PATCH] 产能排产漏更新
---
WebApi/Gs.Sys/Services/GeneralController.cs | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/WebApi/Gs.Sys/Services/GeneralController.cs b/WebApi/Gs.Sys/Services/GeneralController.cs
index b8eb208..f18d180 100644
--- a/WebApi/Gs.Sys/Services/GeneralController.cs
+++ b/WebApi/Gs.Sys/Services/GeneralController.cs
@@ -79,8 +79,7 @@
_sbCont.Append("select count(1) from " + _table +
" where guid='" + _guid + "' and " +
check_status + "=1");
- cont = int.Parse(DbHelperSQL.GetSingle(_sbCont.ToString())
- .ToString());
+ cont = int.Parse(DbHelperSQL.GetSingle(_sbCont.ToString()).ToString());
if (cont <= 0)
{
m.outMsg = "鎿嶄綔澶辫触锛岃鍗曟嵁骞舵病鏈夎瀹℃牳锛�";
@@ -97,8 +96,7 @@
"," + check_by + "='" + _userCode +
"' where guid='" + _guid + "'");
_ary.Add(_strSql1);
- _ary.Add(BuildLog(_userGuid, _guid, _table,
- '銆�' + _userCode + '銆�' + "瀹℃牳浜嗐��" + _guid + '銆�'));
+ _ary.Add(BuildLog(_userGuid, _guid, _table, '銆�'+ _userCode+'銆�'+ "瀹℃牳浜嗐��" + _guid+'銆�'));
DbHelperSQL.ExecuteSqlTran(_ary);
_sbMsg.Append("鎿嶄綔鎴愬姛!");
m.outGuid = _guid;
--
Gitblit v1.9.3