|
@@ -21,7 +21,7 @@ public class CreateHouseJsonUtil {
|
|
JSONArray floors = house.getJSONArray("floors");
|
|
JSONArray floors = house.getJSONArray("floors");
|
|
|
|
|
|
String type = readType(filePath);
|
|
String type = readType(filePath);
|
|
- if(StrUtil.isEmpty(type) && !"cad".equals(type)){
|
|
|
|
|
|
+ if(StrUtil.isEmpty(type) || !"cad".equals(type)){
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
JSONArray floorJson = readFloorJson(filePath);
|
|
JSONArray floorJson = readFloorJson(filePath);
|