|
|
@@ -167,7 +167,7 @@ public class RoleServiceImpl extends CommonBaseServiceImpl<RoleMapper, Role> imp
|
|
|
private void setOtherPower(PowerDTO powerDTO, Long groupId, Long roleId, List<OtherPower> otherPowerList) {
|
|
|
List<OtherPower> otherPowers = new ArrayList<OtherPower>();
|
|
|
for (OtherPower otherPower : otherPowerList){
|
|
|
- if (groupId.equals(otherPower.getGroupId())){
|
|
|
+ if (groupId.equals(otherPower.getGroupId()) && roleId.equals(otherPower.getRoleId())){
|
|
|
otherPowers.add(otherPower);
|
|
|
}
|
|
|
}
|