From 6a54b0a6c8b54f811cda0ee397adbe1c10b20ba8 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 29 Oct 2024 16:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Controllers/InspectionController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IRaCIS.Core.API/Controllers/InspectionController.cs b/IRaCIS.Core.API/Controllers/InspectionController.cs index cfa60569d..0baf015a4 100644 --- a/IRaCIS.Core.API/Controllers/InspectionController.cs +++ b/IRaCIS.Core.API/Controllers/InspectionController.cs @@ -486,8 +486,7 @@ namespace IRaCIS.Core.API.Controllers /// /// [HttpPost, Route("Inspection/TrialConfig/updateTrialState")] - //[TrialGlobalLimit( "AfterStopCannNotOpt" )] - [TrialGlobalLimit( "BeforeOngoingCantOpt" )] + [TrialGlobalLimit( "BeforeOngoingCantOpt", "AddOrUpdateTrial")] [UnitOfWork] public async Task UpdateTrialState(DataInspectionDto opt) {