From f2b71fe1d3c2b7651d525a5b5bbe66fad602ea06 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期二, 09 九月 2025 18:46:28 +0800 Subject: [PATCH] 代码清理 --- WebApi/Gs.Sys/Services/GeneralController.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WebApi/Gs.Sys/Services/GeneralController.cs b/WebApi/Gs.Sys/Services/GeneralController.cs index f18d180..b8eb208 100644 --- a/WebApi/Gs.Sys/Services/GeneralController.cs +++ b/WebApi/Gs.Sys/Services/GeneralController.cs @@ -79,7 +79,8 @@ _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 = "鎿嶄綔澶辫触锛岃鍗曟嵁骞舵病鏈夎瀹℃牳锛�"; @@ -96,7 +97,8 @@ "," + 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