|
@@ -1179,7 +1179,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if(sceneProEntity.getSceneSource() != 4 || sceneProEntity.getSceneSource() != 5){
|
|
|
+ if(sceneProEntity.getSceneSource() != 4 && sceneProEntity.getSceneSource() != 5){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3003, "只能操作激光场景");
|
|
|
}
|
|
|
|
|
@@ -1238,7 +1238,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5005, SceneConstant.FAILURE_MSG_5005);
|
|
|
}
|
|
|
|
|
|
- if(scenePlus.getSceneSource() != 4 || scenePlus.getSceneSource() !=5){
|
|
|
+ if(scenePlus.getSceneSource() != 4 && scenePlus.getSceneSource() !=5){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3003, "只能操作激光场景");
|
|
|
}
|
|
|
|