|
@@ -1208,7 +1208,7 @@ namespace OASystem.API.Controllers
|
|
|
var uids = string.Join(',', users.Select(x => x.Id)).TrimEnd(',');
|
|
|
var RemoveUserAuthorityListAndTemp = _UserAuthorityRepository._sqlSugar.SqlQueryable<Sys_UserAuthority>($@"
|
|
|
select a.* from Sys_UserAuthority a, Sys_SetData b ,Sys_SystemMenuPermission c
|
|
|
- where a.SmId = c.Id and c.Mid = b.Id and uid in ({uids}) and c.Mid =716 and IsTemp = 1
|
|
|
+ where a.SmId = c.Id and c.Mid = b.Id and uid in ({uids}) and c.Mid = {dto.modulId} and IsTemp = 1
|
|
|
").ToList();
|
|
|
|
|
|
foreach (var user in users)
|