|
@@ -87,6 +87,10 @@ public class SceneCommonService implements ISceneCommonService {
|
|
|
ISceneService sceneService;
|
|
|
@Autowired
|
|
|
ISceneFileBuildService sceneFileBuildService;
|
|
|
+ @Autowired
|
|
|
+ IScenePlusService scenePlusService;
|
|
|
+ @Autowired
|
|
|
+ IScenePlusExtService scenePlusExtService;
|
|
|
@Override
|
|
|
public PageInfo pageList(ScenePram param) {
|
|
|
|
|
@@ -115,6 +119,12 @@ public class SceneCommonService implements ISceneCommonService {
|
|
|
HashMap<String, CaseEntity> mapByNumList = caseNumService.getMapByNumList(numList);
|
|
|
HashMap<String, SceneFileBuild> buildTimeByScene = sceneFileBuildService.getBuildTimeByScene(numList);
|
|
|
|
|
|
+ HashMap<String,SceneVo> rtkInfoMap = new HashMap<>();
|
|
|
+ if(!numList.isEmpty()){
|
|
|
+ List<SceneVo> sceneVoList2 = scenePlusExtService.getRtkByNumList(numList);
|
|
|
+ sceneVoList2.forEach(e -> rtkInfoMap.put(e.getNum(),e));
|
|
|
+ }
|
|
|
+
|
|
|
List<SceneVo> sceneVoList = new ArrayList<>();
|
|
|
for (Scene scene : page.getRecords()) {
|
|
|
SceneVo vo = new SceneVo();
|
|
@@ -139,8 +149,11 @@ public class SceneCommonService implements ISceneCommonService {
|
|
|
vo.setSceneSize(scene.getSpace());
|
|
|
vo.setMapping(scene.getMapping());
|
|
|
vo.setWebPath(scene.getWebPath());
|
|
|
- //vo.setOrientation();
|
|
|
- //vo.setRtkLocation();
|
|
|
+ SceneVo rtkVo = rtkInfoMap.get(scene.getSceneCode());
|
|
|
+ if(rtkVo != null){
|
|
|
+ vo.setOrientation(rtkVo.getOrientation());
|
|
|
+ vo.setRtkLocation(rtkVo.getRtkLocation());
|
|
|
+ }
|
|
|
if(mapByNumList.get(vo.getNum() +"_"+ vo.getType())!=null){
|
|
|
vo.setInCase(true);
|
|
|
}
|