修改一版
parent
34047fd3ba
commit
5fb96ef04a
|
@ -1411,7 +1411,13 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
|
|
||||||
).Select(x => x.Id).FirstOrDefaultAsync();
|
).Select(x => x.Id).FirstOrDefaultAsync();
|
||||||
await AddOncologyTask(oncologyReadId);
|
|
||||||
|
if (await _visitTaskRepository.AnyAsync(x => x.Id == visitTaskId && x.JudgeVisitTaskId == null))
|
||||||
|
{
|
||||||
|
await AddOncologyTask(oncologyReadId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,7 +280,7 @@ namespace IRaCIS.Application.Services
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inDto"></param>
|
/// <param name="inDto"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[NonDynamicMethod]
|
[HttpPost]
|
||||||
public async Task<IResponseOutput> SubmitJudgeVisitTaskResult(SaveJudgeVisitTaskResult inDto)
|
public async Task<IResponseOutput> SubmitJudgeVisitTaskResult(SaveJudgeVisitTaskResult inDto)
|
||||||
{
|
{
|
||||||
await VerifyTaskIsSign(inDto.VisitTaskId);
|
await VerifyTaskIsSign(inDto.VisitTaskId);
|
||||||
|
@ -292,10 +292,10 @@ namespace IRaCIS.Application.Services
|
||||||
SignTime = DateTime.Now,
|
SignTime = DateTime.Now,
|
||||||
JudgeResultImagePath = inDto.JudgeResultImagePath,
|
JudgeResultImagePath = inDto.JudgeResultImagePath,
|
||||||
});
|
});
|
||||||
|
await _visitTaskRepository.SaveChangesAsync();
|
||||||
// 需要判断是否添加肿瘤学任务
|
// 需要判断是否添加肿瘤学任务
|
||||||
var taskInfo = await _visitTaskRepository.Where(x => x.JudgeVisitTaskId == inDto.VisitTaskId).FirstNotNullAsync();
|
var taskInfo = await _visitTaskRepository.Where(x => x.JudgeVisitTaskId == inDto.VisitTaskId).FirstNotNullAsync();
|
||||||
if (taskInfo.ReadingCategory == ReadingCategory.Judge)
|
if (taskInfo.ReadingCategory == ReadingCategory.Global)
|
||||||
{
|
{
|
||||||
if (taskInfo.SouceReadModuleId == null)
|
if (taskInfo.SouceReadModuleId == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue