|
@@ -393,7 +393,10 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //获取场景包信息
|
|
|
|
+ ScenePackagePO scenePackagePO = simulationProjectMapper.selectScenePackageInfoById(poParam.getScene());
|
|
|
|
|
|
|
|
+ projectDetailsVo.setPackageName(scenePackagePO.getPackageName());
|
|
|
|
|
|
//评测等级
|
|
//评测等级
|
|
String s = getEvaluationLevel(poParam);
|
|
String s = getEvaluationLevel(poParam);
|
|
@@ -751,7 +754,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
algorithmScoreVo.setWeight("100");
|
|
algorithmScoreVo.setWeight("100");
|
|
algorithmScoreVo.setScore(saveTwoDecimalPlaces(totalScore));
|
|
algorithmScoreVo.setScore(saveTwoDecimalPlaces(totalScore));
|
|
|
|
|
|
-// totalScoreRatio = Double.valueOf(totalSceneScoreNum)/Double.valueOf(totalSceneNum)*100;
|
|
|
|
|
|
+ totalScoreRatio = Double.valueOf(totalSceneScoreNum)/Double.valueOf(totalSceneNum)*100;
|
|
//汇总得分率计算方式修改
|
|
//汇总得分率计算方式修改
|
|
Double d = 0D;
|
|
Double d = 0D;
|
|
if(!isEmpty(algorithmScoreVoList)){
|
|
if(!isEmpty(algorithmScoreVoList)){
|
|
@@ -759,7 +762,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
d +=a.getScoreRatio();
|
|
d +=a.getScoreRatio();
|
|
}
|
|
}
|
|
totalScoreRatio = saveTwoDecimalPlaces(d/algorithmScoreVoList.size());*/
|
|
totalScoreRatio = saveTwoDecimalPlaces(d/algorithmScoreVoList.size());*/
|
|
- totalScoreRatio = saveTwoDecimalPlaces(totalScoreRatio/algorithmScoreVoList.size());
|
|
|
|
|
|
+// totalScoreRatio = saveTwoDecimalPlaces(totalScoreRatio/algorithmScoreVoList.size());
|
|
}
|
|
}
|
|
|
|
|
|
algorithmScoreVo.setScoreRatio(saveTwoDecimalPlaces(totalScoreRatio));
|
|
algorithmScoreVo.setScoreRatio(saveTwoDecimalPlaces(totalScoreRatio));
|
|
@@ -768,7 +771,8 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
projectReportVo.setScoreRatio(saveTwoDecimalPlaces(totalScoreRatio));
|
|
projectReportVo.setScoreRatio(saveTwoDecimalPlaces(totalScoreRatio));
|
|
|
|
|
|
projectReportVo.setAlgorithmScore(saveTwoDecimalPlaces(totalScore));
|
|
projectReportVo.setAlgorithmScore(saveTwoDecimalPlaces(totalScore));
|
|
- evaluationLevelReport = getEvaluationLevelReport(saveTwoDecimalPlaces(totalScore));
|
|
|
|
|
|
+// evaluationLevelReport = getEvaluationLevelReport(saveTwoDecimalPlaces(totalScore));
|
|
|
|
+ evaluationLevelReport = poParam.getEvaluationLevel();
|
|
projectReportVo.setEvaluationLevel(evaluationLevelReport);
|
|
projectReportVo.setEvaluationLevel(evaluationLevelReport);
|
|
|
|
|
|
sceneNames = stringBuffer.substring(0,stringBuffer.lastIndexOf("、"));
|
|
sceneNames = stringBuffer.substring(0,stringBuffer.lastIndexOf("、"));
|