|
@@ -26,9 +26,9 @@ import com.css.simulation.resource.server.infra.db.mysql.mapper.*;
|
|
import com.css.simulation.resource.server.app.service.AlgorithmService;
|
|
import com.css.simulation.resource.server.app.service.AlgorithmService;
|
|
import com.css.simulation.resource.server.infra.util.AuthUtil;
|
|
import com.css.simulation.resource.server.infra.util.AuthUtil;
|
|
import com.css.simulation.resource.server.infra.util.PageUtil;
|
|
import com.css.simulation.resource.server.infra.util.PageUtil;
|
|
-import com.css.simulation.resource.server.acl.AlgoPlatformService;
|
|
|
|
-import com.css.simulation.resource.server.acl.FileDownService;
|
|
|
|
-import com.css.simulation.resource.server.acl.MonitorService;
|
|
|
|
|
|
+import com.css.simulation.resource.server.infra.feign.service.AlgoPlatformService;
|
|
|
|
+import com.css.simulation.resource.server.infra.feign.service.FileDownService;
|
|
|
|
+import com.css.simulation.resource.server.infra.feign.service.MonitorService;
|
|
import com.css.simulation.resource.server.app.constant.ProjectRunStateEnum;
|
|
import com.css.simulation.resource.server.app.constant.ProjectRunStateEnum;
|
|
import com.css.simulation.resource.server.app.constant.SceneTypeEnum;
|
|
import com.css.simulation.resource.server.app.constant.SceneTypeEnum;
|
|
import com.css.simulation.resource.server.app.service.job_manage.SimulationProjectService;
|
|
import com.css.simulation.resource.server.app.service.job_manage.SimulationProjectService;
|
|
@@ -2129,7 +2129,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
*/
|
|
*/
|
|
// 测试得分,指标评价,得分说明 --处理
|
|
// 测试得分,指标评价,得分说明 --处理
|
|
if (isEmpty(targetEvaluate) || isEmpty(sp.getScoreExplain())) {
|
|
if (isEmpty(targetEvaluate) || isEmpty(sp.getScoreExplain())) {
|
|
- sublistName += ProjectConstants.SEPARATOR + sp.getReturnSceneId() + ProjectConstants.SEPARATOR + sp.getSceneType() + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--";
|
|
|
|
|
|
+ sublistName += ProjectConstants.SEPARATOR + sp.getReturnSceneId() + ProjectConstants.SEPARATOR + sp.getSceneType() + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--" + ProjectConstants.SEPARATOR + "--";
|
|
} else {
|
|
} else {
|
|
sublistName += ProjectConstants.SEPARATOR + sp.getReturnSceneId() + ProjectConstants.SEPARATOR + sp.getSceneType() + ProjectConstants.SEPARATOR + sceneScore + ProjectConstants.SEPARATOR + targetEvaluate + ProjectConstants.SEPARATOR + sp.getScoreExplain() + ProjectConstants.SEPARATOR + sp.getTimeActual() + ProjectConstants.SEPARATOR + sp.getTimeCorrection();
|
|
sublistName += ProjectConstants.SEPARATOR + sp.getReturnSceneId() + ProjectConstants.SEPARATOR + sp.getSceneType() + ProjectConstants.SEPARATOR + sceneScore + ProjectConstants.SEPARATOR + targetEvaluate + ProjectConstants.SEPARATOR + sp.getScoreExplain() + ProjectConstants.SEPARATOR + sp.getTimeActual() + ProjectConstants.SEPARATOR + sp.getTimeCorrection();
|
|
}
|
|
}
|
|
@@ -2145,7 +2145,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
// 结果补全
|
|
// 结果补全
|
|
int r = 0;
|
|
int r = 0;
|
|
for (List<String> list : result) {
|
|
for (List<String> list : result) {
|
|
- int start = list.size() - 5;
|
|
|
|
|
|
+ int start = list.size() - 7; // 这里需要根据字段数修改
|
|
SceneScListVo sceneScListVo = new SceneScListVo();
|
|
SceneScListVo sceneScListVo = new SceneScListVo();
|
|
for (int i = 0; i < start; i++) {
|
|
for (int i = 0; i < start; i++) {
|
|
if (0 == i) {
|
|
if (0 == i) {
|
|
@@ -2199,7 +2199,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
r++;
|
|
r++;
|
|
}
|
|
}
|
|
List<Map<Object, Object>> headerList = new ArrayList<>();
|
|
List<Map<Object, Object>> headerList = new ArrayList<>();
|
|
- int maxIndex = size - 5;
|
|
|
|
|
|
+ int maxIndex = size - 5; // 这里的5是下面的字段
|
|
projectReportVO.setMaxIndex(maxIndex);
|
|
projectReportVO.setMaxIndex(maxIndex);
|
|
for (int i = 0; i < maxIndex; i++) {
|
|
for (int i = 0; i < maxIndex; i++) {
|
|
addHeaders(i, headerList);
|
|
addHeaders(i, headerList);
|