数据导入 人员角色 添加默认角色

This commit is contained in:
wyw 2026-04-30 14:46:12 +08:00
parent 959ecc8480
commit 8fd772fa8c

View File

@ -1410,10 +1410,11 @@ namespace APT.BS.WebApi.Controllers.Api
{
foreach (var item in listRole)
{
if (!isAddUser)
{
//if (!isAddUser)
//{
//导入用户 所有的角色都得判断
modelUserRole = listUserRole.FirstOrDefault(e => e.USER_ID == modelUser.ID && e.BELONG_ROLE_ID == item.ID);
}
//}
if (modelUserRole == null)
{