|
@@ -176,11 +176,11 @@ public class SceneServiceImpl implements ISceneService {
|
|
|
}
|
|
|
ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(scenePlus.getId());
|
|
|
if(status == 0){
|
|
|
- scenePlusExtService.update(new LambdaUpdateWrapper<ScenePlusExt>().eq(ScenePlusExt::getId, scenePlusExt.getId()).setSql("orientation = null"));
|
|
|
- }else{
|
|
|
- scenePlusExt.setOrientation(orientation);
|
|
|
- scenePlusExtService.updateById(scenePlusExt);
|
|
|
+ return;
|
|
|
}
|
|
|
+ scenePlusExt.setOrientation(orientation);
|
|
|
+ scenePlusExtService.updateById(scenePlusExt);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@Override
|