|
@@ -145,6 +145,7 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
reportName.append("综合考核评分汇总表");
|
|
|
|
|
|
evaluateReport.setEvaluateReportName(reportName.toString());
|
|
|
+ evaluateReport.setDes(reportName.toString());
|
|
|
evaluateReport.setOrganizationEvaluationId(evaluation.getId());
|
|
|
evaluateReport.setBinSection(bi.getId());
|
|
|
evaluateReport.setBinSectionName(bi.getSectionName());
|
|
@@ -206,16 +207,15 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
|
|
|
for (OrganizationEvaluationRule rule : ruleList) {
|
|
|
|
|
|
-// if(!("JJ".equals(bi.getSectionCode()) && "QQ".equals(bi.getSectionCode())) && rule.getScjyWeight()<= 0){
|
|
|
-// continue;
|
|
|
-// }
|
|
|
-// if("JJ".equals(bi.getSectionCode()) && rule.getJjWeight()<= 0){
|
|
|
-// continue;
|
|
|
-// }
|
|
|
-//
|
|
|
-// if("QQ".equals(bi.getSectionCode()) && rule.getQqWeight()<= 0){
|
|
|
-// continue;
|
|
|
-// }
|
|
|
+
|
|
|
+ if ("JJ".equals(bi.getSectionCode()) || "QQ".equals(bi.getSectionCode())) {
|
|
|
+ if (("JJ".equals(bi.getSectionCode()) && rule.getJjWeight() < 0.75) || rule.getScjyWeight() > 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if (("QQ".equals(bi.getSectionCode()) && rule.getQqWeight() < 0.25) || rule.getScjyWeight() > 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
StringBuilder remark = new StringBuilder();
|
|
|
//生产95%基建5%前期0%
|