修改授权方式为手机号码和验证码方式
测试出的问题修复
This commit is contained in:
@@ -88,8 +88,9 @@ namespace Ewide.EntityFramework.Core
|
||||
|
||||
try
|
||||
{
|
||||
if (dbContext == null) return;
|
||||
// 获取所有更改,删除,新增的实体,但排除审计实体(避免死循环)
|
||||
var entities = dbContext.ChangeTracker.Entries()
|
||||
var entities = dbContext?.ChangeTracker?.Entries()?
|
||||
.Where(u => u.Entity.GetType() != typeof(SysLogAudit) && u.Entity.GetType() != typeof(SysLogOp) && u.Entity.GetType() != typeof(SysLogVis) &&
|
||||
(u.State == EntityState.Modified || u.State == EntityState.Deleted || u.State == EntityState.Added))
|
||||
.ToList();
|
||||
|
||||
Reference in New Issue
Block a user