调休计算

This commit is contained in:
2024-09-02 17:27:03 +08:00
parent 84f4343791
commit 1bbd11bbcd
4 changed files with 124 additions and 0 deletions
@@ -117,6 +117,11 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "AfterStopCannNotOpt" })]
public async Task<IResponseOutput> AddOrUpdateArchiveStudy(NewArchiveStudyCommand incommand)
{
//总数为0的检查不允许提交
if (incommand.Study.SeriesList.SelectMany(t => t.InstanceList).Count() == 0)
{
return ResponseOutput.NotOk("Study_InstanceCountZero");
}
var @uploadLock = _distributedLockProvider.CreateLock($"UploadDicom");
@@ -134,6 +139,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
}
}
var modalitys = string.Empty;
try