|
@@ -780,7 +780,9 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
// TODO: 2022/7/26 生成hostType
|
|
|
JSONObject houseTypeJson = CreateHouseJsonUtil
|
|
|
.createHouseTypeJsonByUser(localDataPath + "floorplan_user.json");
|
|
|
- uploadToOssUtil.upload(houseTypeJson.toJSONString().getBytes(), editUserPath + "houseType.json");
|
|
|
+ if(Objects.nonNull(houseTypeJson)){
|
|
|
+ uploadToOssUtil.upload(houseTypeJson.toJSONString().getBytes(), editUserPath + "houseType.json");
|
|
|
+ }
|
|
|
|
|
|
floorPlanUser = CommonStatus.YES.code();
|
|
|
}
|