|
@@ -330,13 +330,13 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
|
String pushToken = fdageData.getString("pushToken");
|
|
|
this.pushMsgToApp(pushChannel,pushToken, cameraType, scenePlus.getTitle(), scenePlusExt.getWebSite());
|
|
|
|
|
|
- //更新场景主表
|
|
|
- scenePlusService.updateById(scenePlus);
|
|
|
-
|
|
|
//上传计算结果文件
|
|
|
commonService.uploadBuildResultData(sceneCode, path, SceneVersionType.V4.code());
|
|
|
|
|
|
//删除计算目录
|
|
|
+ //更新场景主表
|
|
|
+ scenePlusService.updateById(scenePlus);
|
|
|
+
|
|
|
CreateObjUtil.deleteFile(path.replace(ConstantFilePath.BUILD_MODEL_PATH, "/"));
|
|
|
|
|
|
log.info("场景计算结果处理结束,场景码:{}", sceneCode);
|
|
@@ -882,7 +882,7 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
|
}
|
|
|
|
|
|
public boolean uploadHouseTypeJson(String num, String dataSource) {
|
|
|
- String floorPlanCardFilePath = dataSource + File.separator + "floorplan_cad.json";
|
|
|
+ String floorPlanCardFilePath = dataSource + File.separator + "results/floorplan_cad.json";
|
|
|
if (!new File(floorPlanCardFilePath).exists()) {
|
|
|
log.warn("floorplan_cad.json 文件不存在,文件路径:{}", floorPlanCardFilePath);
|
|
|
return false;
|