|
|
@ -69,9 +69,6 @@ public class RoleServiceImpl implements RoleService { |
|
|
|
if (roleVo.getMarket() == null || roleVo.getMarket().isEmpty()) { |
|
|
|
return Result.error("所属市场为空"); |
|
|
|
} |
|
|
|
if (roleVo.getMarkets().contains("总部") && roleVo.getMarkets().size() > 1) { |
|
|
|
return Result.error("总部不可与其他地区共存"); |
|
|
|
} |
|
|
|
if (roleVo.getFatherId() != null) { |
|
|
|
if (roleVo.getFatherId() != 2) { |
|
|
|
for (Integer menuId : roleVo.getMenuIds()) { |
|
|
|