临床数据修改

This commit is contained in:
2022-05-06 14:02:56 +08:00
parent 7a2c522ffd
commit a7048ef08c
3 changed files with 10 additions and 13 deletions
@@ -449,7 +449,7 @@ namespace IRaCIS.Core.Infra.EFCore
{
foreach (var verifyItem in verify.Where(t => t.verifyType != VerifyEnum.OnlyUpdate && t.IsVerify))
{
if (await _dbSet.IgnoreQueryFilters().AnyAsync(verifyItem.VerifyExp).ConfigureAwait(false))
if (await _dbSet.AnyAsync(verifyItem.VerifyExp).ConfigureAwait(false))
{
throw new BusinessValidationFailedException(verifyItem.VerifyMsg);
}