|
@@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.JsonNode;
|
|
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
|
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
|
|
import com.persagy.dmp.basic.utils.JsonNodeUtils;
|
|
|
+import com.persagy.dmp.common.utils.JsonHelper;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.util.Iterator;
|
|
@@ -134,6 +135,13 @@ public class AdmEntityTransferUtil {
|
|
|
copyProperty(node, "creationTime", "createTime");
|
|
|
copyProperty(node, "modifiedTime", "lastUpdate");
|
|
|
copyProperty(node, "objType", "objectType");
|
|
|
+ // outline特殊处理
|
|
|
+ JsonNode outLine = node.get("outline");
|
|
|
+ if(outLine != null && outLine.isTextual()) {
|
|
|
+ node.remove("outline");
|
|
|
+ ArrayNode arrayNode = JsonHelper.toSingleEntityQuietly(outLine.textValue(), ArrayNode.class);
|
|
|
+ node.set("outline", arrayNode);
|
|
|
+ }
|
|
|
removeProperty(node, projection);
|
|
|
}
|
|
|
|