Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
7c14e9e7a3
|
@ -2370,7 +2370,7 @@ namespace IRaCIS.Application.Services
|
|||
[HttpPost]
|
||||
public async Task<GetReadingTaskDto> GetNextTask(GetNextTaskInDto inDto)
|
||||
{
|
||||
if (inDto.VisitTaskId == null)
|
||||
if (inDto.VisitTaskId == null)
|
||||
{
|
||||
await VerifyReadingRestTime();
|
||||
}
|
||||
|
@ -2573,6 +2573,11 @@ namespace IRaCIS.Application.Services
|
|||
[HttpPost]
|
||||
public async Task VerifyReadingRestTime()
|
||||
{
|
||||
var userTypeEnum = (UserTypeEnum)_userInfo.UserTypeEnumInt;
|
||||
if (userTypeEnum != UserTypeEnum.IndependentReviewer)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var startReadingTimeKey = _userInfo.Id.ToString()+ "StartReadingTime";
|
||||
var startRestTimeKey = _userInfo.Id.ToString() + "StartRestTime";
|
||||
|
||||
|
|
Loading…
Reference in New Issue