|
|
@@ -21,9 +21,11 @@ import com.fdkankan.redis.constant.RedisLockKey;
|
|
|
import com.fdkankan.redis.util.RedisLockUtil;
|
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
|
import com.fdkankan.scene.bean.TagBean;
|
|
|
+import com.fdkankan.scene.dto.ListSegParamDTO;
|
|
|
import com.fdkankan.scene.entity.SceneEditInfoExt;
|
|
|
import com.fdkankan.scene.entity.ScenePlus;
|
|
|
import com.fdkankan.scene.entity.ScenePlusExt;
|
|
|
+import com.fdkankan.scene.enums.ShapeType;
|
|
|
import com.fdkankan.scene.httpclient.ShapesHttpClient;
|
|
|
import com.fdkankan.scene.httpclient.callback.CommonErrorCallback;
|
|
|
import com.fdkankan.scene.httpclient.callback.CommonSuccessCallback;
|
|
|
@@ -208,9 +210,7 @@ public class SceneDrawServiceImpl implements ISceneDrawService {
|
|
|
sortList.addAll(drawList);
|
|
|
}
|
|
|
|
|
|
- BaseSceneParamVO sceneParamVO = new BaseSceneParamVO();
|
|
|
- sceneParamVO.setNum(num);
|
|
|
- List<JSONObject> shapesReps = shapesHttpClient.shapesSegList(fdServiceHost, sceneParamVO, new CommonSuccessCallback(), new CommonErrorCallback()).getData();
|
|
|
+ List<JSONObject> shapesReps = shapesHttpClient.shapesSegList(fdServiceHost, ListSegParamDTO.builder().num(num).shapeType(ShapeType.SEG_PANO.getCode()).build(), new CommonSuccessCallback(), new CommonErrorCallback()).getData();
|
|
|
if(CollUtil.isNotEmpty(shapesReps)){
|
|
|
List<TagBean> shapeList = shapesReps.stream().map(v -> {
|
|
|
TagBean tagBean = new TagBean();
|