|
@@ -1365,7 +1365,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
|
|
|
// 拷贝数据
|
|
|
Long proId = scenePro.getId();
|
|
|
- scenePro.setId(null);
|
|
|
+ scenePro.setId(paramVO.getNewSceneProId());
|
|
|
scenePro.setWebSite(scenePro.getWebSite().replace(num,newNum));
|
|
|
scenePro.setSceneName(paramVO.getNewSceneName());
|
|
|
scenePro.setThumb(scenePro.getThumb().replace(num,newNum));
|
|
@@ -1382,7 +1382,7 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
|
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
Long plusId = scenePlus.getId();
|
|
|
scenePlus.setNum(newNum);
|
|
|
- scenePlus.setId(null);
|
|
|
+ scenePlus.setId(paramVO.getNewSceneProId());
|
|
|
scenePlus.setTitle(scenePro.getSceneName());
|
|
|
scenePlusService.save(scenePlus);
|
|
|
|