|
@@ -87,7 +87,8 @@ public class AdmSpaceController {
|
|
|
vos = service.doInsertExt(AdmContextUtil.toDmpContext(), AdmSpace.class, vos);
|
|
|
AdmResponse admResponse = AdmResponse.success(vos);
|
|
|
ObjectNode admResponseObj = JsonNodeUtils.toObjectNode(admResponse, null,null);
|
|
|
- ArrayNode arrayNode = admResponseObj.putArray("entityList");
|
|
|
+ ArrayNode arrayNode = JsonNodeUtils.toArrayNode(vos,null,null);
|
|
|
+ admResponseObj.putArray("entityList").add(arrayNode);
|
|
|
return admResponseObj;
|
|
|
}else{
|
|
|
return JsonNodeUtils.toObjectNode(AdmResponse.failure(msg), null,null);
|