修改参数名称

This commit is contained in:
he
2022-04-08 10:21:07 +08:00
parent 75143725a7
commit 3a5d1abba4
2 changed files with 5 additions and 5 deletions
@@ -99,7 +99,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> SetSubjectVisitUrgent(DataInspectionDto<SetSubjectVisitUrgentCommand> opt)
{
var fun = await _subjectVisitService.SetSubjectVisitUrgent(opt.OptCommand.subjectVisitId,opt.OptCommand.isUrgent);
var fun = await _subjectVisitService.SetSubjectVisitUrgent(opt.OptCommand.SubjectVisitId, opt.OptCommand.isUrgent);
if (!fun.IsSuccess)
{
return ResponseOutput.NotOk(fun.ErrorMessage);
@@ -112,7 +112,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> DeleteSV(DataInspectionDto<DeleteSVCommand> opt)
{
var fun = await _subjectVisitService.DeleteSV(opt.OptCommand.Id);
var fun = await _subjectVisitService.DeleteSV(opt.OptCommand.SubjectVisitId);
if (!fun.IsSuccess)
{
return ResponseOutput.NotOk(fun.ErrorMessage);
@@ -124,7 +124,7 @@ namespace IRaCIS.Core.API.Controllers
public async Task<IResponseOutput> SetSVExecuted(DataInspectionDto<DeleteSVCommand> opt)
{
var fun = await _subjectVisitService.SetSVExecuted(opt.OptCommand.Id);
var fun = await _subjectVisitService.SetSVExecuted(opt.OptCommand.SubjectVisitId);
if (!fun.IsSuccess)
{
return ResponseOutput.NotOk(fun.ErrorMessage);