Commit 995827b9 authored by danfuman's avatar danfuman

Merge branch 'V20230915' of http://192.168.60.201/root/dsk-operate-sys into V20230915

parents a59d087b 8c8af47c
......@@ -418,9 +418,9 @@ public class SysRoleServiceImpl implements ISysRoleService {
int rows = userRoleMapper.delete(new LambdaQueryWrapper<SysUserRole>()
.eq(SysUserRole::getRoleId, userRole.getRoleId())
.eq(SysUserRole::getUserId, userRole.getUserId()));
if (rows > 0) {
cleanOnlineUserByRole(userRole.getRoleId());
}
//if (rows > 0) {
// cleanOnlineUserByRole(userRole.getRoleId());
//}
return rows;
}
......@@ -456,9 +456,9 @@ public class SysRoleServiceImpl implements ISysRoleService {
int rows = userRoleMapper.delete(new LambdaQueryWrapper<SysUserRole>()
.eq(SysUserRole::getRoleId, roleId)
.in(SysUserRole::getUserId, Arrays.asList(userIds)));
if (rows > 0) {
cleanOnlineUserByRole(roleId);
}
//if (rows > 0) {
// cleanOnlineUserByRole(roleId);
//}
return rows;
}
......@@ -515,9 +515,9 @@ public class SysRoleServiceImpl implements ISysRoleService {
if (CollUtil.isNotEmpty(list)) {
rows = userRoleMapper.insertBatch(list) ? list.size() : 0;
}
if (rows > 0) {
cleanOnlineUserByRole(roleId);
}
//if (rows > 0) {
// cleanOnlineUserByRole(roleId);
//}
return rows;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment