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/DocNoRuleController.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/WebApi/Gs.Sys/Services/DocNoRuleController.cs b/WebApi/Gs.Sys/Services/DocNoRuleController.cs index 6d7b85f..12e5918 100644 --- a/WebApi/Gs.Sys/Services/DocNoRuleController.cs +++ b/WebApi/Gs.Sys/Services/DocNoRuleController.cs @@ -87,8 +87,10 @@ var cont = 0; cont = IsChkOrUnChk(model.Guid.ToString(), true); if (cont > 0) - return ReturnDto<string>.QuickReturn("", ReturnCode.Exception, "淇敼澶辫触锛岃淇℃伅宸茶瀹℃牳锛�"); + return ReturnDto<string>.QuickReturn("", ReturnCode.Exception, + "淇敼澶辫触锛岃淇℃伅宸茶瀹℃牳锛�"); } + var _bl = false; try { @@ -105,6 +107,7 @@ model.LastupdateBy = _userCode; model.LastupdateTime = DateTime.Now; } + //_bl = base.Update(model); _bl = Db.Updateable(model).IgnoreColumns(true).ExecuteCommand() > 0 ? true -- Gitblit v1.9.3