Browse Source

保存cad接口去掉生成hostType逻辑

dengsixing 7 months ago
parent
commit
bae50d42a8

+ 9 - 9
src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

@@ -718,15 +718,15 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
 
         //写入数据库
         Byte floorPlanUser = null;
-        if(StrUtil.isNotEmpty(floorJsonData)){
-            JSONObject houseTypeJson = CreateHouseJsonUtil
-                .createHouseTypeJsonByUser(localDataPath + "floorplan_user.json");
-            if(Objects.nonNull(houseTypeJson)) {
-                fYunFileService.uploadFile(bucket, houseTypeJson.toJSONString().getBytes(), editUserPath + "houseType.json");
-            }
-
-            floorPlanUser = CommonStatus.YES.code();
-        }
+//        if(StrUtil.isNotEmpty(floorJsonData)){
+//            JSONObject houseTypeJson = CreateHouseJsonUtil
+//                .createHouseTypeJsonByUser(localDataPath + "floorplan_user.json");
+//            if(Objects.nonNull(houseTypeJson)) {
+//                fYunFileService.uploadFile(bucket, houseTypeJson.toJSONString().getBytes(), editUserPath + "houseType.json");
+//            }
+//
+//            floorPlanUser = CommonStatus.YES.code();
+//        }
         SceneEditInfo sceneEditInfoDb = this.getByScenePlusId(scenePlus.getId());
         if(Objects.nonNull(sceneEditInfoDb)){
             LambdaUpdateWrapper<SceneEditInfo> updateWrapper = new LambdaUpdateWrapper<SceneEditInfo>()