|
@@ -639,11 +639,6 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
}
|
|
}
|
|
Long cameraId = scenePro == null ? scenePlus.getCameraId() : scenePro.getCameraId();
|
|
Long cameraId = scenePro == null ? scenePlus.getCameraId() : scenePro.getCameraId();
|
|
Long userId = scenePro == null ? scenePlus.getUserId() :scenePro.getUserId();
|
|
Long userId = scenePro == null ? scenePlus.getUserId() :scenePro.getUserId();
|
|
- // 判断是否有绑定会员权益
|
|
|
|
- Long count = userIncrementService.getValidCountByCameraId(cameraId);
|
|
|
|
- if(count <= 0){
|
|
|
|
- throw new BusinessException(LoginConstant.FAILURE_CODE_3030, LoginConstant.FAILURE_MSG_3030);
|
|
|
|
- }
|
|
|
|
if(userId == null){
|
|
if(userId == null){
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5013, SceneConstant.FAILURE_MSG_5013);
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5013, SceneConstant.FAILURE_MSG_5013);
|
|
}
|
|
}
|