From 6fe823ec7ad87d883c26c27f7199a410d7fdb905 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 8 Apr 2022 14:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Controllers/InspectionController.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/IRaCIS.Core.API/Controllers/InspectionController.cs b/IRaCIS.Core.API/Controllers/InspectionController.cs index 1b931a3de..03a5812fc 100644 --- a/IRaCIS.Core.API/Controllers/InspectionController.cs +++ b/IRaCIS.Core.API/Controllers/InspectionController.cs @@ -80,7 +80,6 @@ namespace IRaCIS.Core.API.Controllers [UnitOfWork] public async Task AddOrUpdateSV(DataInspectionDto opt) { - var fun = await _subjectVisitService.AddOrUpdateSV(opt.OptCommand); if (!fun.IsSuccess) { @@ -88,9 +87,6 @@ namespace IRaCIS.Core.API.Controllers } opt.AuditInfo.SubjectVisitId = Guid.Parse(fun.Data); opt.AuditInfo.SubjectVisitName = opt.OptCommand.VisitName; - - - return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, null, fun); }