|
@@ -67,6 +67,9 @@ public class CheckCooperationPermitAspect {
|
|
|
|
|
|
//判断是不是场景原用户,如果是,跳出
|
|
//判断是不是场景原用户,如果是,跳出
|
|
ScenePlus scenePlus= scenePlusService.getScenePlusByNum(num);
|
|
ScenePlus scenePlus= scenePlusService.getScenePlusByNum(num);
|
|
|
|
+ if(Objects.isNull(scenePlus)){
|
|
|
|
+ throw new BusinessException(ErrorCode.FAILURE_CODE_5005);
|
|
|
|
+ }
|
|
if(scenePlus.getUserId().equals(user.getId())){
|
|
if(scenePlus.getUserId().equals(user.getId())){
|
|
return;
|
|
return;
|
|
}
|
|
}
|