|
@@ -3,10 +3,7 @@ package com.lc.ibps.components.verification.model2;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
import com.lc.ibps.components.verification.regression.PolynomialRegression;
|
|
import com.lc.ibps.components.verification.regression.PolynomialRegression;
|
|
|
-import com.lc.ibps.components.verification.report.ChartDTO;
|
|
|
|
|
-import com.lc.ibps.components.verification.report.EchartsFreemarkerUtils;
|
|
|
|
|
-import com.lc.ibps.components.verification.report.ReportDataDTO;
|
|
|
|
|
-import com.lc.ibps.components.verification.report.TableDTO;
|
|
|
|
|
|
|
+import com.lc.ibps.components.verification.report.*;
|
|
|
import org.apache.commons.lang3.ArrayUtils;
|
|
import org.apache.commons.lang3.ArrayUtils;
|
|
|
import org.apache.commons.math3.stat.StatUtils;
|
|
import org.apache.commons.math3.stat.StatUtils;
|
|
|
import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics;
|
|
import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics;
|
|
@@ -153,6 +150,11 @@ public class LinearRangeEP6A extends PVModel {
|
|
|
return table;
|
|
return table;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public SheetDTO[] buildSheetDTO() {
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public Map<String, TableDTO> buildReportTableDTO(){
|
|
public Map<String, TableDTO> buildReportTableDTO(){
|
|
|
Map<String, TableDTO> reports = new HashMap<>();
|
|
Map<String, TableDTO> reports = new HashMap<>();
|
|
|
reports.put("表1: 重复性差异检测结果",buildTable1DTO());
|
|
reports.put("表1: 重复性差异检测结果",buildTable1DTO());
|
|
@@ -161,7 +163,6 @@ public class LinearRangeEP6A extends PVModel {
|
|
|
return reports;
|
|
return reports;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Override
|
|
|
|
|
public Map<String, ChartDTO> buildChartDTO() {
|
|
public Map<String, ChartDTO> buildChartDTO() {
|
|
|
Map<String,ChartDTO> charts = new HashMap<>();
|
|
Map<String,ChartDTO> charts = new HashMap<>();
|
|
|
charts.put("图1: 线性实验",buildChart1DTO());
|
|
charts.put("图1: 线性实验",buildChart1DTO());
|
|
@@ -282,7 +283,7 @@ public class LinearRangeEP6A extends PVModel {
|
|
|
|
|
|
|
|
|
|
|
|
|
report.setDataDTO(tableDTO);
|
|
report.setDataDTO(tableDTO);
|
|
|
- report.setReportDataDTO(stringTableDTOMap);
|
|
|
|
|
|
|
+// report.setReportDataDTO(stringTableDTOMap);
|
|
|
String s = JSONObject.toJSONString(report, SerializerFeature.DisableCircularReferenceDetect);
|
|
String s = JSONObject.toJSONString(report, SerializerFeature.DisableCircularReferenceDetect);
|
|
|
|
|
|
|
|
System.out.println(s);
|
|
System.out.println(s);
|