|
@@ -24,7 +24,20 @@ public class AdmEntityTransferUtil {
|
|
|
* @return
|
|
|
*/
|
|
|
public static ArrayNode toDmpMultiEntity(List objList) {
|
|
|
- return JsonNodeUtils.toArrayNode(objList, "infos", null);
|
|
|
+ ArrayNode arrayNode = JsonNodeUtils.toArrayNode(objList, "infos", null);
|
|
|
+ if(arrayNode == null) {
|
|
|
+ return arrayNode;
|
|
|
+ }
|
|
|
+
|
|
|
+ for(int i = 0;i < arrayNode.size();i++) {
|
|
|
+ ObjectNode jsonNode = (ObjectNode) arrayNode.get(i);
|
|
|
+ JsonNode outLine = jsonNode.get("outline");
|
|
|
+ if(outLine != null && outLine.isObject()) {
|
|
|
+ jsonNode.remove("outline");
|
|
|
+ jsonNode.put("outline", outLine.toString());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return arrayNode;
|
|
|
}
|
|
|
|
|
|
|