|
@@ -155,11 +155,23 @@ public class SceneUpgradeToV4Service implements ISceneUpgradeToV4Service {
|
|
|
sceneProExtService.updateById(sceneProExt);
|
|
|
}
|
|
|
|
|
|
+ String thumb = null;
|
|
|
+ if(param.isReUpgrade()){
|
|
|
+ ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(sceneProV3.getId());
|
|
|
+ thumb = scenePlusExt.getThumb();
|
|
|
+ }
|
|
|
+
|
|
|
//同步到scenePlus、scenePlus
|
|
|
sceneUpgradeMapper.deleteScenePlus(sceneProV3.getId());
|
|
|
sceneUpgradeMapper.transferScenePlus(sceneProV3.getId());
|
|
|
sceneUpgradeMapper.deleteScenePlusExt(sceneProV3.getId());
|
|
|
sceneUpgradeMapper.transferScenePlusExt(sceneProV3.getId());
|
|
|
+ //重算自动升级的,需要回复原初始画面图
|
|
|
+ if(param.isReUpgrade()){
|
|
|
+ ScenePlusExt scenePlusExt = scenePlusExtService.getScenePlusExtByPlusId(sceneProV3.getId());
|
|
|
+ scenePlusExt.setThumb(thumb);
|
|
|
+ scenePlusExtService.updateById(scenePlusExt);
|
|
|
+ }
|
|
|
|
|
|
//写入进度条
|
|
|
Map<String, Integer> progress = new HashMap<>();
|