修改参数名称

Uat_Study
he 2022-04-08 10:21:07 +08:00
parent 75143725a7
commit 3a5d1abba4
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -46,12 +46,12 @@ namespace IRaCIS.Core.Application.Contracts
public class DeleteSVCommand
{
public Guid Id { get; set; }
public Guid SubjectVisitId { get; set; }
}
public class SetSubjectVisitUrgentCommand
{
public Guid subjectVisitId { get; set; }
public Guid SubjectVisitId { get; set; }
public bool isUrgent { get; set; }