代码修改
This commit is contained in:
+20
-1
@@ -2947,6 +2947,25 @@ namespace IRaCIS.Application.Services
|
||||
return task;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 重置阅片任务
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<ResetReadingTaskOutDto> ResetReadingTask(ResetReadingTaskInDto inDto)
|
||||
{
|
||||
await VerifyTaskIsSign(inDto.VisitTaskId);
|
||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).FirstNotNullAsync();
|
||||
if (taskinfo.ReadingCategory != ReadingCategory.Visit)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
return new ResetReadingTaskOutDto() { };
|
||||
}
|
||||
/// <summary>
|
||||
/// 验证阅片休息时间
|
||||
/// </summary>
|
||||
@@ -2954,7 +2973,7 @@ namespace IRaCIS.Application.Services
|
||||
[HttpPost]
|
||||
public async Task VerifyReadingRestTime()
|
||||
{
|
||||
var userTypeEnum = (UserTypeEnum)_userInfo.UserTypeEnumInt;
|
||||
var userTypeEnum = (UserTypeEnum)_userInfo.UserTypeEnumInt;
|
||||
if (userTypeEnum != UserTypeEnum.IndependentReviewer)
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user