修改
This commit is contained in:
@@ -80,7 +80,6 @@ namespace IRaCIS.Core.API.Controllers
|
||||
[UnitOfWork]
|
||||
public async Task<IResponseOutput> AddOrUpdateSV(DataInspectionDto<SubjectVisitCommand> 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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user