|
@@ -111,13 +111,13 @@ public class SceneListener {
|
|
List<Map<String,Object>> scenes=new ArrayList<>();
|
|
List<Map<String,Object>> scenes=new ArrayList<>();
|
|
int index = 0;
|
|
int index = 0;
|
|
for (String item : list) {
|
|
for (String item : list) {
|
|
|
|
+ if (item.endsWith(".jpg")) {
|
|
|
|
+ log.info("key:{}",item);
|
|
if (index % 2 != 0) {
|
|
if (index % 2 != 0) {
|
|
index++;
|
|
index++;
|
|
continue; // 跳过不是偶数位置的元素
|
|
continue; // 跳过不是偶数位置的元素
|
|
}
|
|
}
|
|
index++;
|
|
index++;
|
|
- if (item.endsWith(".jpg")) {
|
|
|
|
- log.info("key:{}",item);
|
|
|
|
Map<String,Object> scene=new HashMap<>();
|
|
Map<String,Object> scene=new HashMap<>();
|
|
|
|
|
|
ScenePanoEntity scenePanoEntity = this.doSlice(traceId ,item, param.getSceneCode(), workEntity.getId(),index+".jpg");
|
|
ScenePanoEntity scenePanoEntity = this.doSlice(traceId ,item, param.getSceneCode(), workEntity.getId(),index+".jpg");
|