|
|
|
@ -218,6 +218,13 @@ public static class SqlsugarInstall
|
|
|
|
|
entityInfo.SetValue(user.UserId);
|
|
|
|
|
if (entityInfo.PropertyName == "UpdateUserName" && user != null)
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|