|
@@ -39,9 +39,6 @@ public class SceneResourceServiceImpl extends ServiceImpl<ISceneResourceMapper,
|
|
|
new LambdaQueryWrapper<SceneResourceCooperation>()
|
|
|
.eq(SceneResourceCooperation::getSceneCooperationId, sceneCooperationId));
|
|
|
|
|
|
- if(CollUtil.isEmpty(sceneResourceCooperationList)){
|
|
|
- throw new BusinessException(ErrorCode.FAILURE_CODE_5014);
|
|
|
- }
|
|
|
if(countV4Resource == sceneResourceCooperationList.size()){//如果协作菜单数量与资源数量相同,则返回空,由前端判断当前用户拥有所有该场景编辑权限
|
|
|
return null;
|
|
|
}
|