Commit fa0d6a98 authored by 王国存's avatar 王国存

绩效总分列表优化

parent ea77a00c
...@@ -379,7 +379,14 @@ public class QuestionnaireCtrl { ...@@ -379,7 +379,14 @@ public class QuestionnaireCtrl {
List<PerformanceSummary> performanceSummaryList = questionnaireService.selectPerformanceSummaryList(performanceSummary); List<PerformanceSummary> performanceSummaryList = questionnaireService.selectPerformanceSummaryList(performanceSummary);
if(performanceSummaryList.size() > 0){ if(performanceSummaryList.size() > 0){
for(PerformanceSummary total : performanceSummaryList){ for(PerformanceSummary total : performanceSummaryList){
//计算各个空间指标的哦总分 //家畜指标最高30分,引导指标最高50分,奖励指标最高10分
if(total.getGuideIndicators() > 50){
total.setGuideIndicators(50);
}
if(total.getRewardIndicators() > 30){
total.setRewardIndicators(30);
}
//计算各个空间指标的总分
totalScore = total.getBasicIndicators() + total.getGuideIndicators() + total.getRewardIndicators(); totalScore = total.getBasicIndicators() + total.getGuideIndicators() + total.getRewardIndicators();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment