Uat_Study
he 2022-11-25 09:59:30 +08:00
parent 8d02de0b25
commit 11f39e7241
1 changed files with 3 additions and 2 deletions

View File

@ -1256,7 +1256,7 @@ namespace IRaCIS.Application.Services
var subjectIndex = subjectTaskList.Where(x => x.SubjectId == inDto.SubjectId && x.SubjectCode == inDto.SubjectCode).Select(x => x.Index).FirstOrDefault();
var currentSubject = subjectTaskList.Where(x => x.SubjectId == inDto.SubjectId && x.SubjectCode == inDto.SubjectCode&& x.Index >= subjectIndex && !x.ExistReadingApply).OrderBy(x => x.Index).FirstOrDefault();
var currentSubject = subjectTaskList.Where(x => x.Index >= subjectIndex && !x.ExistReadingApply).OrderBy(x => x.Index).FirstOrDefault();
if (currentSubject == null)
{
@ -1364,7 +1364,8 @@ namespace IRaCIS.Application.Services
/// 验证阅片休息时间
/// </summary>
/// <returns></returns>
private async Task VerifyReadingRestTime()
[HttpPost]
public async Task VerifyReadingRestTime()
{
var cacheKey = _userInfo.Id.ToString();
var value = _cache.Get(cacheKey);