|
@@ -1371,7 +1371,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
scenePro.setThumb(scenePro.getThumb().replace(num,newNum));
|
|
scenePro.setThumb(scenePro.getThumb().replace(num,newNum));
|
|
scenePro.setVideos(scenePro.getVideos().replaceAll(num,newNum));
|
|
scenePro.setVideos(scenePro.getVideos().replaceAll(num,newNum));
|
|
scenePro.setNum(newNum);
|
|
scenePro.setNum(newNum);
|
|
- sceneProService.save(scenePro);
|
|
|
|
|
|
+ sceneProService.saveOrUpdate(scenePro);
|
|
|
|
|
|
SceneProExt proExt = sceneProExtService.findBySceneProId(proId);
|
|
SceneProExt proExt = sceneProExtService.findBySceneProId(proId);
|
|
proExt.setDataSource(paramVO.getDatasource());
|
|
proExt.setDataSource(paramVO.getDatasource());
|
|
@@ -1384,7 +1384,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
scenePlus.setNum(newNum);
|
|
scenePlus.setNum(newNum);
|
|
scenePlus.setId(paramVO.getNewSceneProId());
|
|
scenePlus.setId(paramVO.getNewSceneProId());
|
|
scenePlus.setTitle(scenePro.getSceneName());
|
|
scenePlus.setTitle(scenePro.getSceneName());
|
|
- scenePlusService.save(scenePlus);
|
|
|
|
|
|
+ scenePlusService.saveOrUpdate(scenePlus);
|
|
|
|
|
|
ScenePlusExt plusExt = scenePlusExtService.getScenePlusExtByPlusId(plusId);
|
|
ScenePlusExt plusExt = scenePlusExtService.getScenePlusExtByPlusId(plusId);
|
|
plusExt.setId(null);
|
|
plusExt.setId(null);
|