|
@@ -36,6 +36,8 @@ public class DownService implements IDownService {
|
|
|
@Autowired
|
|
|
IScenePlusService scenePlusService;
|
|
|
@Autowired
|
|
|
+ IScenePlusExtService scenePlusExtService;
|
|
|
+ @Autowired
|
|
|
RedisUtil redisUtil;
|
|
|
@Autowired
|
|
|
ISceneEditInfoService sceneEditInfoService;
|
|
@@ -56,8 +58,9 @@ public class DownService implements IDownService {
|
|
|
throw new BusinessException(SceneConstant.FAILURE_CODE_5005, SceneConstant.FAILURE_MSG_5005);
|
|
|
}
|
|
|
Integer sceneType = scenePro !=null ? scenePro.getSceneSource() : plus.getSceneSource();
|
|
|
+ Integer isObj = scenePro !=null ? scenePro.getIsObj() : scenePlusExtService.getByPlusId(plus.getId()).getIsObj();
|
|
|
|
|
|
- if(sceneType == 4){ //深时场景
|
|
|
+ if(sceneType == 4 && isObj !=1){ //深时场景
|
|
|
return SSCheckDownload(sceneNum);
|
|
|
}
|
|
|
SceneDownloadLog sceneDownloadLog;
|
|
@@ -125,7 +128,9 @@ public class DownService implements IDownService {
|
|
|
}
|
|
|
Integer sceneType = scenePro !=null ? scenePro.getSceneSource() : scenePlus.getSceneSource();
|
|
|
|
|
|
- if(sceneType == 4){ //深时场景
|
|
|
+ Integer isObj = scenePro !=null ? scenePro.getIsObj() : scenePlusExtService.getByPlusId(scenePlus.getId()).getIsObj();
|
|
|
+
|
|
|
+ if(sceneType == 4 && isObj !=1){ //深时场景
|
|
|
return SSDownload(sceneNum,userName);
|
|
|
}
|
|
|
DownVo downVo = new DownVo();
|