|
@@ -200,7 +200,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRoleEntity
|
|
|
public List<String> getScopeById(Long roleId) {
|
|
|
String hotelIds = entityMapper.getScopeById(roleId);
|
|
|
// 产品经理要求的处理方式
|
|
|
- BaseRuntimeException.isBlank(hotelIds, 0, "酒店数据为空");
|
|
|
+ BaseRuntimeException.isBlank(hotelIds, null, "暂无数据");
|
|
|
String[] split = hotelIds.split(",");
|
|
|
return Arrays.asList(split);
|
|
|
|