|
@@ -82,7 +82,6 @@ public class BuildSxRelocationServiceImpl implements IBuildSceneService {
|
|
|
public void buildScenePre(BuildSceneCallMessage message) throws Exception{
|
|
|
String num = message.getSceneNum();
|
|
|
ScenePlus scenePlusByNum = scenePlusService.getScenePlusByNum(num);
|
|
|
- Map<String, Object> ext = message.getExt();
|
|
|
try {
|
|
|
//重新计算时需要删除文件夹,否知使用缓存
|
|
|
if(new File(message.getPath() + File.separator + "results").exists()){
|
|
@@ -93,6 +92,9 @@ public class BuildSxRelocationServiceImpl implements IBuildSceneService {
|
|
|
FileUtils.deleteDirectory(message.getPath() + File.separator + "caches");
|
|
|
}
|
|
|
|
|
|
+ String extrasPath = message.getPath() + File.separator + "extras";
|
|
|
+ fYunFileService.downloadFileByCommand(extrasPath, String.format(UploadFilePath.scene_result_data_path, num) + "pose/");
|
|
|
+
|
|
|
message.setResultReceiverMqName(queueModelingPost);
|
|
|
|
|
|
ScenePlusExt scenePlusExtByPlusId = scenePlusExtService.getScenePlusExtByPlusId(scenePlusByNum.getId());
|