Uat_Study
he 2022-07-21 14:27:44 +08:00
parent 25584cda9e
commit cdd30a9978
4 changed files with 10 additions and 5 deletions

View File

@ -113,7 +113,7 @@ namespace IRaCIS.Core.API.Controllers
/// <returns></returns>
[HttpPost, Route("Inspection/ReadingImageTask/SubmitGlobalReadingInfo")]
[UnitOfWork]
public async Task<IResponseOutput> SubmitGlobalReadingInfo(DataInspectionDto<SaveGlobalReadingInfoInDto> opt)
public async Task<IResponseOutput> SubmitGlobalReadingInfo(DataInspectionDto<SubmitGlobalReadingInfoInDto> opt)
{
var singid = await _inspectionService.RecordSing(opt.SignInfo);

View File

@ -22,6 +22,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid VisitTaskId { get; set; }
}
public class SubmitGlobalReadingInfoInDto
{
public Guid GlobalTaskId { get; set; }
}
public class SaveGlobalReadingInfoInDto
{
public Guid GlobalTaskId { get; set; }

View File

@ -18,6 +18,6 @@ namespace IRaCIS.Core.Application.Contracts
void FindChildQuestion(GetTrialReadingQuestionOutDto trialReadingQuestion, List<GetTrialReadingQuestionOutDto> questionlists);
Task<IResponseOutput> SubmitGlobalReadingInfo(SaveGlobalReadingInfoInDto inDto);
Task<IResponseOutput> SubmitGlobalReadingInfo(SubmitGlobalReadingInfoInDto inDto);
}
}

View File

@ -797,13 +797,13 @@ namespace IRaCIS.Application.Services
/// <param name="inDto"></param>
/// <returns></returns>
[NonDynamicMethod]
public async Task<IResponseOutput> SubmitGlobalReadingInfo(SaveGlobalReadingInfoInDto inDto)
public async Task<IResponseOutput> SubmitGlobalReadingInfo(SubmitGlobalReadingInfoInDto inDto)
{
var result = await this.SaveGlobalReadingInfo(inDto);
//var result = await this.SaveGlobalReadingInfo(inDto);
await this.SubmitTaskChangeState(inDto.GlobalTaskId);
return result;
return ResponseOutput.Ok(true) ;
}
/// <summary>