Browse Source

图片格式调整

lvxianyun 3 years ago
parent
commit
3f693db2f0

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

@@ -1,6 +1,7 @@
 package com.persagy.proxy.object.model;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.databind.node.ArrayNode;
 import com.fasterxml.jackson.databind.node.ObjectNode;
 import com.persagy.proxy.adm.annotations.CascadeColumn;
 import com.persagy.proxy.adm.model.AdmBaseEntity;
@@ -8,7 +9,6 @@ import lombok.Data;
 import lombok.EqualsAndHashCode;
 
 import java.util.List;
-import java.util.Map;
 
 /**
  * ADM 楼层 实体
@@ -71,7 +71,7 @@ public class AdmFloor extends AdmBaseEntity<AdmFloor> {
     private String propertiesInfo;
 
     /** 二维码图片 */
-    private String qrcodePic;
+    private ArrayNode qrcodePic;
 
 
     /** 对象类型 */

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

@@ -93,7 +93,7 @@ public class AdmSpace extends AdmBaseEntity<AdmSpace> {
     private String classCode;
 
     /** 二维码图片 */
-    private String qrcodePic;
+    private ArrayNode qrcodePic;
     /** BIM模型中坐标 */
     private String bimLocation;
     /** 二维码图片 */