From dd87d33da1326e7452b4f50308180e449638c1fc Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 31 May 2023 15:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=8F=E5=90=8C=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E7=A1=AE=E8=AE=A4=E8=B7=AF=E7=BA=BF=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FactorySystemBll/TaskBll.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FactorySystemBll/TaskBll.cs b/FactorySystemBll/TaskBll.cs index 8e68a29..0a40691 100644 --- a/FactorySystemBll/TaskBll.cs +++ b/FactorySystemBll/TaskBll.cs @@ -124,7 +124,7 @@ namespace FactorySystemBll public int SureTeamWork(int teamId) { return AppSettingsHelper.GetSqlSugar().Ado.ExecuteCommand(string.Format(@" - if(select count(1) from TFS_Task where FTeamID={0} and FState!=2)=0 + if(select count(1) from TFS_Task where FTeamID={0} and FState!=2 and FType!=13)=0 begin update TFS_Task set FCanEdit=2 where FCanEdit!=2 and FTeamID={0}; update TFS_Task set FState=2,FFinishDate=getdate() where FState!=2 and FTeamID={0};