使用sqlsugar内置工作单元

This commit is contained in:
chenchun
2023-01-02 13:59:05 +08:00
parent 0e78857645
commit ea35871aba
16 changed files with 65 additions and 58 deletions

View File

@@ -151,6 +151,10 @@ namespace Yi.Framework.Model.RABC.Entitys
//如果不传值那就把自己的password当作传进来的password
if (password == null)
{
if (Password == null)
{
throw new ArgumentNullException("Password不能为空");
}
password = Password;
}
Salt = MD5Helper.GenerateSalt();