|
@ -68,7 +68,8 @@ public class RoleServiceImpl implements RoleService { |
|
|
} |
|
|
} |
|
|
if (roleVo.getMarket() == null || roleVo.getMarket().isEmpty()) { |
|
|
if (roleVo.getMarket() == null || roleVo.getMarket().isEmpty()) { |
|
|
return Result.error("所属市场为空"); |
|
|
return Result.error("所属市场为空"); |
|
|
} else { |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
if (roleVo.getFatherId() != null) { |
|
|
if (roleVo.getFatherId() != 2) { |
|
|
if (roleVo.getFatherId() != 2) { |
|
|
for (Integer menuId : roleVo.getMenuIds()) { |
|
|
for (Integer menuId : roleVo.getMenuIds()) { |
|
|
if (menuId == 9) { |
|
|
if (menuId == 9) { |
|
|