|
@@ -623,11 +623,12 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
|
|
|
|
|
|
|
private Integer uploadFreespace(String num, String path, Map<String, String> map){
|
|
|
+ String floor0pngPath = "/results/floorplan/floor_0.png";
|
|
|
String plyPath = path + "/results/laserData/cover/final_freespace.ply";
|
|
|
String pngPath = path + "/results/laserData/cover/final_freespace.png";
|
|
|
String infoJsonPath = path + "/results/laserData/cover/info.json";
|
|
|
Integer hasAi = CommonStatus.NO.code().intValue();
|
|
|
- if(FileUtil.exist(plyPath)){
|
|
|
+ if(FileUtil.exist(floor0pngPath) || FileUtil.exist(plyPath)){
|
|
|
hasAi = CommonStatus.YES.code().intValue();
|
|
|
map.put(plyPath, String.format(UploadFilePath.IMG_VIEW_PATH, num) + "cover/" + FileUtil.getName(plyPath));
|
|
|
}
|