Explorar o código

fix : 楼层信息点处理

lvxianyun %!s(int64=3) %!d(string=hai) anos
pai
achega
0b33449bfe

+ 6 - 1
src/main/java/com/persagy/proxy/dictionary/service/impl/AdmModelRelServiceImpl.java

@@ -112,7 +112,12 @@ public class AdmModelRelServiceImpl extends AbstractAdmBaseServiceImpl<AdmModelR
 
         //3. 修改楼层平面图地址
         if(StringUtils.isNotEmpty(vo.getFloorMap())){
-            floorEntity.setFloorMap(vo.getFloorMap());
+            if(CollUtil.isEmpty(floorEntity.getInfos())){
+                Map<String, Object> infos = new HashMap<>(16);
+                infos.put("floorMap",vo.getFloorMap());
+            }else{
+                floorEntity.getInfos().put("floorMap",vo.getFloorMap());
+            }
         }
         floorEntity.setModelId(vo.getModelId());
         floorEntity.setBimIdPre(vo.getBimId());

+ 1 - 1
src/main/java/com/persagy/proxy/object/model/AdmFloor.java

@@ -83,6 +83,6 @@ public class AdmFloor extends AdmBaseEntity<AdmFloor> {
     private List<AdmSpace> spaceList;
 
     /** 楼层平面图地址 */
-    private String floorMap;
+    //private String floorMap;
 
 }