|
@@ -93,6 +93,9 @@ public class OrganizationEvaluationServiceImpl extends ServiceImpl<OrganizationE
|
|
|
@Autowired
|
|
|
private IEvaluateReportService evaluateReportService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IMultipleBrandService multipleBrandService;
|
|
|
+
|
|
|
|
|
|
@Override
|
|
|
public IPage<OrganizationEvaluation> list(Integer pageNum, Integer pageSize, String id, String organizationEvaluationCode, List<String> checkCycle, String beginDate, String endDate, String stage, String createBy, String year, String month, String des) {
|
|
@@ -142,7 +145,7 @@ public class OrganizationEvaluationServiceImpl extends ServiceImpl<OrganizationE
|
|
|
qw.lambda().like(OrganizationEvaluation::getDes, des);
|
|
|
}
|
|
|
|
|
|
- qw.lambda().orderByDesc(OrganizationEvaluation::getCreateTime);
|
|
|
+ qw.lambda().orderByDesc(OrganizationEvaluation::getYear,OrganizationEvaluation::getMonth);
|
|
|
|
|
|
IPage<OrganizationEvaluation> list = baseMapper.selectPage(page, qw);
|
|
|
|
|
@@ -271,6 +274,23 @@ public class OrganizationEvaluationServiceImpl extends ServiceImpl<OrganizationE
|
|
|
evaluateRuleList.addAll(scjyevaluateRuleList);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+// //判断多块牌子 是否在该序列加权平均
|
|
|
+// List<MultipleBrand> dkpz = multipleBrandService.getMultipleBranList2(evaluationRule.getOrganizationId(), "", "", evaluationRule.getEvaluationCycle(), evaluationRule.getYear(), "");
|
|
|
+// List<MultipleBrand> filteredList = dkpz.stream()
|
|
|
+// .filter(multipleBrand -> !"0".equals(multipleBrand.getParentId()))
|
|
|
+// .collect(Collectors.toList());
|
|
|
+// if (null == filteredList || filteredList.size() <= 0) {
|
|
|
+// //重点专项管理事项
|
|
|
+// List<EvaluateRule> zkevaluateRuleList = evaluateRuleService.getEvaluateRuleByYear(CacheContext.bsnCodeObject.get("GLSX").getId() + "," + CacheContext.bsnCodeObject.get("ZDZX").getId(), CacheContext.bseCodeObject.get("ZDZX").getId() + "," + CacheContext.bseCodeObject.get("GLSX").getId(), "NDKP", evaluationRule.getYear());
|
|
|
+//
|
|
|
+// if (null != zkevaluateRuleList && zkevaluateRuleList.size() > 0) {
|
|
|
+// evaluateRuleList.addAll(zkevaluateRuleList);
|
|
|
+// }
|
|
|
+// }
|
|
|
+
|
|
|
+
|
|
|
//前期
|
|
|
double qqWeight = evaluationRule.getQqWeight();
|
|
|
if(qqWeight>0){
|
|
@@ -406,6 +426,23 @@ public class OrganizationEvaluationServiceImpl extends ServiceImpl<OrganizationE
|
|
|
evaluateRuleList.addAll(scjyevaluateRuleList);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ //判断多块牌子 是否在该序列加权平均
|
|
|
+ List<MultipleBrand> dkpz = multipleBrandService.getMultipleBranList2(evaluationRule.getOrganizationId(), "", "", evaluationRule.getEvaluationCycle(), evaluationRule.getYear(), "");
|
|
|
+ List<MultipleBrand> filteredList = dkpz.stream()
|
|
|
+ .filter(multipleBrand -> !"0".equals(multipleBrand.getParentId()))
|
|
|
+ .collect(Collectors.toList());
|
|
|
+ if (null == filteredList || filteredList.size() <= 0) {
|
|
|
+ //重点专项管理事项
|
|
|
+ List<EvaluateRule> zkevaluateRuleList = evaluateRuleService.getEvaluateRuleByYear(CacheContext.bsnCodeObject.get("GLSX").getId() + "," + CacheContext.bsnCodeObject.get("ZDZX").getId(), CacheContext.bseCodeObject.get("ZDZX").getId() + "," + CacheContext.bseCodeObject.get("GLSX").getId(), "JDKP", evaluationRule.getYear());
|
|
|
+
|
|
|
+ if (null != zkevaluateRuleList && zkevaluateRuleList.size() > 0) {
|
|
|
+ evaluateRuleList.addAll(zkevaluateRuleList);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//前期
|
|
|
double qqWeight = evaluationRule.getQqWeight();
|
|
|
if(qqWeight>0){
|