Compare commits
No commits in common. "f172a15e6e35767a8a6bea93284a7371b4443589" and "1b808595b815f8f98a357fa023bf3a9f5767b978" have entirely different histories.
f172a15e6e
...
1b808595b8
|
|
@ -260,11 +260,6 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||||
public bool obtaionOrCancel { get; set; }
|
public bool obtaionOrCancel { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UpdateReadModuleClinicalDataInDto
|
|
||||||
{
|
|
||||||
public Guid ReadingClinicalDataId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ReadingClinicalDataSignIndto
|
public class ReadingClinicalDataSignIndto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -372,34 +372,6 @@ namespace IRaCIS.Core.Application.Service
|
||||||
return ResponseOutput.Result(result);
|
return ResponseOutput.Result(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 修改临床数据后 将签名状态变更为未签名
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="inDto"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
[HttpPost]
|
|
||||||
public async Task<IResponseOutput> UpdateReadModuleClinicalData(UpdateReadModuleClinicalDataInDto inDto)
|
|
||||||
{
|
|
||||||
var data = await _readingClinicalDataRepository.FirstOrDefaultAsync(t => t.Id == inDto.ReadingClinicalDataId);
|
|
||||||
|
|
||||||
await _readingClinicalDataRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.ReadingClinicalDataId, x => new ReadingClinicalData()
|
|
||||||
{
|
|
||||||
IsSign = false,
|
|
||||||
ReadingClinicalDataState = ReadingClinicalDataStatus.HaveUploaded
|
|
||||||
});
|
|
||||||
|
|
||||||
var result = await _readModuleRepository.Where(x=>x.Id== data.ReadingId).Include(x=>x.SubjectVisit).FirstNotNullAsync();
|
|
||||||
|
|
||||||
await _visitTaskRepository.UpdatePartialFromQueryAsync(x => x.TrialReadingCriterionId == result.TrialReadingCriterionId && x.VisitTaskNum > result.SubjectVisit.VisitNum, x => new VisitTask()
|
|
||||||
{
|
|
||||||
IsFrontTaskNeedSignButNotSign = false,
|
|
||||||
});
|
|
||||||
|
|
||||||
return ResponseOutput.Result(await _visitTaskRepository.SaveChangesAsync());
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
///// <summary>
|
///// <summary>
|
||||||
///// 一致性分析的临床数据
|
///// 一致性分析的临床数据
|
||||||
///// </summary>
|
///// </summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue