|
@@ -93,7 +93,8 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
List<String> evaluationRuleIds = Arrays.asList(evaluationRuleId.split(","));
|
|
|
|
|
|
//获取所有当前考评配置所有权重单位
|
|
|
- List<OrganizationEvaluationRule> ruleListall = organizationEvaluationRuleService.getOrganizationEvaluationRuleByIds(evaluationRuleIds, "");
|
|
|
+// List<OrganizationEvaluationRule> ruleListall = organizationEvaluationRuleService.getOrganizationEvaluationRuleByIds(evaluationRuleIds, "");
|
|
|
+ List<OrganizationEvaluationRule> ruleListall = organizationEvaluationRuleService.listByIsCheck(evaluation.getOrganizationType(), evaluation.getCheckCycle(),evaluation.getYear(),true,false);
|
|
|
|
|
|
//按照组织id 分组
|
|
|
Map<String, OrganizationEvaluationRule> ruleMap = ruleListall.stream()
|
|
@@ -109,7 +110,9 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
|
|
|
reportName.append(evaluation.getYear()).append("年");
|
|
|
if ("NDKP".equals(evaluation.getCheckCycle())) {
|
|
|
- if("FD".equals(bi.getSectionCode()) || "GD".equals(bi.getSectionCode())){
|
|
|
+ if("FD".equals(bi.getSectionCode()) || "GD".equals(bi.getSectionCode()) ||
|
|
|
+ "GLSX".equals(bi.getSectionCode()) || "KJCX".equals(bi.getSectionCode())||
|
|
|
+ "ZDZX".equals(bi.getSectionCode())){
|
|
|
continue;
|
|
|
}
|
|
|
des.append("年度");
|
|
@@ -119,13 +122,13 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
}
|
|
|
if ("JDKP".equals(evaluation.getCheckCycle())) {
|
|
|
des.append("季度");
|
|
|
+ month = evaluation.getMonth();
|
|
|
reportName.append(evaluation.getMonth()).append("季度-");
|
|
|
evaluateReport.setMonth(evaluation.getMonth());
|
|
|
if("XNYFG".equals(bi.getSectionCode()) || "ZHZC".equals(bi.getSectionCode())||
|
|
|
"GCGS".equals(bi.getSectionCode()) || "TJGS".equals(bi.getSectionCode())|
|
|
|
- "GD".equals(bi.getSectionCode())){
|
|
|
-
|
|
|
-// "QQ".equals(bi.getSectionCode()) || "JJ".equals(bi.getSectionCode())||
|
|
|
+ "GD".equals(bi.getSectionCode()) || "GLSX".equals(bi.getSectionCode()) ||
|
|
|
+ "KJCX".equals(bi.getSectionCode()) || "ZDZX".equals(bi.getSectionCode())){
|
|
|
continue;
|
|
|
}
|
|
|
|
|
@@ -134,7 +137,8 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
if("XNYFG".equals(bi.getSectionCode()) || "ZHZC".equals(bi.getSectionCode())||
|
|
|
"GCGS".equals(bi.getSectionCode()) || "TJGS".equals(bi.getSectionCode())||
|
|
|
"QQ".equals(bi.getSectionCode()) || "JJ".equals(bi.getSectionCode())||
|
|
|
- "GD".equals(bi.getSectionCode())){
|
|
|
+ "GD".equals(bi.getSectionCode())|| "GLSX".equals(bi.getSectionCode()) ||
|
|
|
+ "KJCX".equals(bi.getSectionCode()) || "ZDZX".equals(bi.getSectionCode())){
|
|
|
continue;
|
|
|
}
|
|
|
des.append("月度");
|
|
@@ -216,12 +220,18 @@ public class EvaluateReportServiceImpl extends ServiceImpl<EvaluateReportMapper,
|
|
|
|
|
|
|
|
|
if ("JJ".equals(bi.getSectionCode()) || "QQ".equals(bi.getSectionCode())) {
|
|
|
- if (("JJ".equals(bi.getSectionCode()) && rule.getJjWeight() < 0.75) || rule.getScjyWeight() > 0) {
|
|
|
+
|
|
|
+ if ( rule.getQqWeight() + rule.getJjWeight() < 1) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (("QQ".equals(bi.getSectionCode()) && rule.getQqWeight() < 0.25) || rule.getScjyWeight() > 0) {
|
|
|
+
|
|
|
+ if ("QQ".equals(bi.getSectionCode()) && rule.getJjWeight() == 1) {
|
|
|
continue;
|
|
|
}
|
|
|
+ if (("JJ".equals(bi.getSectionCode()) && rule.getJjWeight() < 1)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
StringBuilder remark = new StringBuilder();
|