Compare commits
No commits in common. "f5885f612a9303fd08dc676a34281693d6b7b216" and "42948185f9f6870b5048169daa9208b098598288" have entirely different histories.
f5885f612a
...
42948185f9
|
@ -2604,7 +2604,7 @@ namespace IRaCIS.Application.Services
|
||||||
#region 测试用的5分钟
|
#region 测试用的5分钟
|
||||||
var cacheDate = DateTime.Parse(value.ToString());
|
var cacheDate = DateTime.Parse(value.ToString());
|
||||||
int timespanMin = (DateTime.Now - cacheDate).Minutes;
|
int timespanMin = (DateTime.Now - cacheDate).Minutes;
|
||||||
if (timespanMin >= 1 && timespanMin <= 100)
|
if (timespanMin >= 5 && timespanMin <= 10)
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException("您已连续阅片2个小时,请休息20分钟后,再继续阅片。");
|
throw new BusinessValidationFailedException("您已连续阅片2个小时,请休息20分钟后,再继续阅片。");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue