usertest
cjy 5 months ago
parent 6e2d1e2b43
commit a1d2c07192

@ -218,6 +218,13 @@ public static class SqlsugarInstall
entityInfo.SetValue(user.UserId); entityInfo.SetValue(user.UserId);
if (entityInfo.PropertyName == "UpdateUserName" && user != null) if (entityInfo.PropertyName == "UpdateUserName" && user != null)
entityInfo.SetValue(user.UserName); entityInfo.SetValue(user.UserName);
if (entityInfo.PropertyName == "DeleteTime")
entityInfo.SetValue(DateTime.Now);
if (entityInfo.PropertyName == "DeleteBy" && user != null)
entityInfo.SetValue(user.UserId);
if (entityInfo.PropertyName == "DeleteUserName" && user != null)
entityInfo.SetValue(user.UserName);
} }
}; };

Loading…
Cancel
Save