Uat_Study
parent
5c58a055ff
commit
6fe823ec7a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue