|
@@ -997,7 +997,9 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
//安居客算法运行
|
|
//安居客算法运行
|
|
log.info("安居客算法:开始建模——"+num);
|
|
log.info("安居客算法:开始建模——"+num);
|
|
CreateObjUtil.build3dModel(target , "1");
|
|
CreateObjUtil.build3dModel(target , "1");
|
|
- if(!new File(target + File.separator + "results" + File.separator + "upload.json").exists()){
|
|
|
|
|
|
+ String uploadJsonPath = target + File.separator + "results" + File.separator + "upload.json";
|
|
|
|
+ log.info("uploadJsonPath=" + uploadJsonPath);
|
|
|
|
+ if(!new File(uploadJsonPath).exists()){
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_5042);
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_5042);
|
|
}
|
|
}
|
|
|
|
|