Browse Source

fix : 楼层信息点处理 回滚

lvxianyun 3 years ago
parent
commit
bae2393250

+ 3 - 4
src/main/java/com/persagy/proxy/adm/utils/AdmEntityTransferUtil.java

@@ -7,7 +7,6 @@ import com.fasterxml.jackson.databind.node.ArrayNode;
 import com.fasterxml.jackson.databind.node.ObjectNode;
 import com.persagy.dmp.basic.utils.JsonNodeUtils;
 
-import java.io.IOException;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
@@ -67,13 +66,13 @@ public class AdmEntityTransferUtil {
                 resetAdmProperty((ObjectNode) node, projection);
             }
         }
-        
-        try {
+        return JsonNodeUtils.toEntity(array, clazz, "infos");
+        /*try {
 			return JSONEntityUtil.toEntity(array, clazz, "infos");
 		} catch (IOException e) {
 			e.printStackTrace();
 		}
-        return null;
+        return null;*/
     }
 
     /**