1
This commit is contained in:
@@ -104,7 +104,7 @@ public class SysRoleEventListener implements RoleEventListener {
|
|||||||
);
|
);
|
||||||
} else if (ObjectUtil.isAllNotEmpty(message.getUnitId(), message.getUnitId())) {
|
} else if (ObjectUtil.isAllNotEmpty(message.getUnitId(), message.getUnitId())) {
|
||||||
dao.clear(Sys_user_role.class,
|
dao.clear(Sys_user_role.class,
|
||||||
Cnd.where("unitId", "in", message.getUnitId())
|
Cnd.where("unitId", "=", message.getUnitId())
|
||||||
.and("roleId", "=", role.getId())
|
.and("roleId", "=", role.getId())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user