|
@@ -40,6 +40,20 @@ public class AdmEntityTransferUtil {
|
|
|
jsonNode.remove("outline");
|
|
|
jsonNode.put("outline", outLine.toString());
|
|
|
}
|
|
|
+ ArrayNode nullList = (ArrayNode) jsonNode.get("nullList");
|
|
|
+
|
|
|
+ if(nullList != null && nullList.size() > 0) {
|
|
|
+ for(int k=0; k < nullList.size(); k++){
|
|
|
+ String node = nullList.get(k).textValue();
|
|
|
+ if(node.startsWith("infos.")){
|
|
|
+ node = node.replace("infos.","");
|
|
|
+ nullList.remove(i);
|
|
|
+ nullList.add(node);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ jsonNode.remove("nullList");
|
|
|
+ jsonNode.putPOJO("$remove", nullList);
|
|
|
+ }
|
|
|
}
|
|
|
return arrayNode;
|
|
|
}
|