修改限制配置时间
This commit is contained in:
@@ -86,7 +86,7 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||
public static async Task EntityVerifyAsync<T>(this IRepository<T> _entityRepository, Guid? entitydId = null,params EntityVerifyExp<T>[] verify) where T : Entity
|
||||
{
|
||||
|
||||
if (entitydId!=null)
|
||||
if (entitydId==null)
|
||||
{
|
||||
foreach (var verifyItem in verify.Where(t => t.verifyType != VerifyEnum.OnlyUpdate && t.IsVerify))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user