修改分配规则

This commit is contained in:
2022-06-08 14:22:38 +08:00
parent dbdcde2d0b
commit 404dc13001
14 changed files with 261 additions and 99 deletions
@@ -513,7 +513,11 @@ namespace IRaCIS.Core.API.Controllers
[Authorize(Policy = IRaCISPolicy.PM_APM)]
public async Task<IResponseOutput> UploadVisitCheckExcel(Guid trialId )
{
if (_repository.Where<TaskAllocationRule>(t => t.TrialId == trialId && t.IsEnable).Count() <2)
{
return ResponseOutput.NotOk("能参与读片的医生数量必须大于2");
}
var (serverFilePath, relativePath, fileName) = (string.Empty, string.Empty, string.Empty);
await FileUploadAsync(async (realFileName) =>