|
|
@@ -4,7 +4,11 @@ import com.fdkankan.common.constant.*;
|
|
|
import com.fdkankan.common.util.FileSizeUtil;
|
|
|
import com.fdkankan.rabbitmq.util.RabbitMqProducer;
|
|
|
import com.fdkankan.scene.entity.*;
|
|
|
+import com.fdkankan.scene.enums.ShapeType;
|
|
|
import com.fdkankan.scene.httpclient.LaserHttpClient;
|
|
|
+import com.fdkankan.scene.httpclient.ShapesHttpClient;
|
|
|
+import com.fdkankan.scene.httpclient.callback.CommonErrorCallback;
|
|
|
+import com.fdkankan.scene.httpclient.callback.CommonSuccessCallback;
|
|
|
import com.fdkankan.scene.service.*;
|
|
|
import com.fdkankan.scene.vo.SaveFiltersParamVO;
|
|
|
|
|
|
@@ -142,11 +146,11 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
private int waitTime;
|
|
|
@Value("${4dkk.laserService.basePath}")
|
|
|
private String laserHost;
|
|
|
+ @Value("${4dkk.fdService.basePath}")
|
|
|
+ private String fdServiceHost;
|
|
|
|
|
|
@Autowired
|
|
|
private ISceneEditControlsService sceneEditControlsService;
|
|
|
- @Autowired
|
|
|
- private ISceneProService sceneProService;
|
|
|
@Resource
|
|
|
private FYunFileServiceInterface fYunFileService;
|
|
|
@Autowired
|
|
|
@@ -191,6 +195,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
private LaserHttpClient laserHttpClient;
|
|
|
@Autowired
|
|
|
private ISceneCopyService sceneCopyService;
|
|
|
+ @Resource
|
|
|
+ private ShapesHttpClient shapesHttpClient;
|
|
|
|
|
|
@Transactional
|
|
|
@Override
|
|
|
@@ -351,6 +357,12 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
//发布场景绘制
|
|
|
sceneDrawService.publicSceneDraw(num, bucket);
|
|
|
|
|
|
+ //发布seg-ai
|
|
|
+ JSONObject publicShapesParam = new JSONObject();
|
|
|
+ publicShapesParam.put("num", num);
|
|
|
+ publicShapesParam.put("shapeType", ShapeType.SEG_PANO.getCode());
|
|
|
+ shapesHttpClient.publicShapes(fdServiceHost, publicShapesParam, new CommonSuccessCallback(), new CommonErrorCallback());
|
|
|
+
|
|
|
sceneJson.setDynamicPanel(sceneDynamicPanelService.checkDynamicPanel(num));
|
|
|
|
|
|
//发布痕迹物证
|