Uat_Study
parent
25584cda9e
commit
cdd30a9978
|
@ -113,7 +113,7 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost, Route("Inspection/ReadingImageTask/SubmitGlobalReadingInfo")]
|
[HttpPost, Route("Inspection/ReadingImageTask/SubmitGlobalReadingInfo")]
|
||||||
[UnitOfWork]
|
[UnitOfWork]
|
||||||
public async Task<IResponseOutput> SubmitGlobalReadingInfo(DataInspectionDto<SaveGlobalReadingInfoInDto> opt)
|
public async Task<IResponseOutput> SubmitGlobalReadingInfo(DataInspectionDto<SubmitGlobalReadingInfoInDto> opt)
|
||||||
{
|
{
|
||||||
|
|
||||||
var singid = await _inspectionService.RecordSing(opt.SignInfo);
|
var singid = await _inspectionService.RecordSing(opt.SignInfo);
|
||||||
|
|
|
@ -22,6 +22,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class SubmitGlobalReadingInfoInDto
|
||||||
|
{
|
||||||
|
public Guid GlobalTaskId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
public class SaveGlobalReadingInfoInDto
|
public class SaveGlobalReadingInfoInDto
|
||||||
{
|
{
|
||||||
public Guid GlobalTaskId { get; set; }
|
public Guid GlobalTaskId { get; set; }
|
||||||
|
|
|
@ -18,6 +18,6 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
void FindChildQuestion(GetTrialReadingQuestionOutDto trialReadingQuestion, List<GetTrialReadingQuestionOutDto> questionlists);
|
void FindChildQuestion(GetTrialReadingQuestionOutDto trialReadingQuestion, List<GetTrialReadingQuestionOutDto> questionlists);
|
||||||
|
|
||||||
Task<IResponseOutput> SubmitGlobalReadingInfo(SaveGlobalReadingInfoInDto inDto);
|
Task<IResponseOutput> SubmitGlobalReadingInfo(SubmitGlobalReadingInfoInDto inDto);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -797,13 +797,13 @@ namespace IRaCIS.Application.Services
|
||||||
/// <param name="inDto"></param>
|
/// <param name="inDto"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[NonDynamicMethod]
|
[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);
|
await this.SubmitTaskChangeState(inDto.GlobalTaskId);
|
||||||
|
|
||||||
return result;
|
return ResponseOutput.Ok(true) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue