一个List里有两个对象,可以使用这个方法分出来。
String data = JSON.toJSONString(result.getList());
// 成功的数据转换成测评点记录表对象
List<CpEvaluationPoint> cpEvaluationPointList = JSON.parseArray(data, CpEvaluationPoint.class);
// 成功的数据 转换成测评指标信息表对象
List<CpInspectionIndex> cpInspectionIndexList = JSON.parseArray(data, CpInspectionIndex.class);