This commit is contained in:
2022-06-08 14:39:33 +08:00
parent 3dff501386
commit 7fc970dacc
2 changed files with 6 additions and 6 deletions
@@ -513,12 +513,7 @@ 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) =>
{