修复导入问题
This commit is contained in:
parent
28b47ed440
commit
c09017455a
|
|
@ -231,7 +231,9 @@ namespace WGShare.API.Controllers.Frontend
|
|||
else if (x.RoleId == "房间管理员")
|
||||
roleId = "3";
|
||||
x.RoleId = roleId;
|
||||
x.Subject = x.SubjectName.GetEnumValueFromDescription<SubjectType>();
|
||||
|
||||
if (string.IsNullOrWhiteSpace(x.SubjectName))
|
||||
x.Subject = SubjectType.All;
|
||||
});
|
||||
|
||||
await _sqlSugar.Insertable(users).ExecuteCommandAsync();
|
||||
|
|
|
|||
Loading…
Reference in New Issue