|
@@ -205,7 +205,7 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
rabbitMqProducer.sendByWorkQueue(cloudPointBuild, params);
|
|
|
}
|
|
|
|
|
|
- public void sendE57ToLaser(ScenePlus scenePlus, ScenePlusExt scenePlusExt) {
|
|
|
+ public void sendE57ToLaser(ScenePlus scenePlus, ScenePlusExt scenePlusExt, String path) {
|
|
|
User user = userService.getById(scenePlus.getUserId());
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
params.put("createTime", DateUtil.date2String(scenePlus.getCreateTime(), null));
|
|
@@ -219,6 +219,7 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
params.put("location", scenePlusExt.getLocation());
|
|
|
params.put("payStatus", scenePlus.getPayStatus());
|
|
|
params.put("shootCount", scenePlusExt.getShootCount());
|
|
|
+ params.put("path", path);
|
|
|
if(scenePlus.getSceneStatus() == SceneStatus.wait.code()){
|
|
|
rabbitMqProducer.sendByWorkQueue("laser-e57-init-scene", params);
|
|
|
}
|
|
@@ -227,7 +228,7 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void syncBuildResult4E57(String dataSource) {
|
|
|
+ public String syncBuildResult4E57(String dataSource) {
|
|
|
log.info("激光转台相机构建结果 同步 请求 ");
|
|
|
try {
|
|
|
String jgPath = dataSource;
|
|
@@ -259,6 +260,8 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
}
|
|
|
FileUtils.copyFile(dataSource + "/results/laserData", jgPath, true);
|
|
|
|
|
|
+ return jgPath + "/laserData";
|
|
|
+
|
|
|
} catch (Exception e) {
|
|
|
log.error("激光转台相机同步失败", e);
|
|
|
}
|