|
@ -79,12 +79,12 @@ public class FactIndexServiceImpl implements FactIndexService { |
|
|
//区县级、乡镇街道级
|
|
|
//区县级、乡镇街道级
|
|
|
if ("district".equals(agency.getLevel()) || "street".equals(agency.getLevel())) { |
|
|
if ("district".equals(agency.getLevel()) || "street".equals(agency.getLevel())) { |
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分数据
|
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分数据
|
|
|
list = factIndexAgencyScoreDao.selectAblityIndex(formDTO); |
|
|
list = factIndexAgencyScoreDao.selectAgencyAblityWeightScoreIndex(formDTO); |
|
|
|
|
|
|
|
|
//社区级
|
|
|
//社区级
|
|
|
} else if ("community".equals(agency.getLevel())) { |
|
|
} else if ("community".equals(agency.getLevel())) { |
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
list = factIndexCommunityScoreDao.selectCommunityAblityIndex(formDTO); |
|
|
list = factIndexCommunityScoreDao.selectCommunityAblityWeightScore(formDTO); |
|
|
} else { |
|
|
} else { |
|
|
//throw new RenException(String.format("根据组织Id查询到的组织级别信息错误,组织Id:%s", formDTO.getOrgId()));
|
|
|
//throw new RenException(String.format("根据组织Id查询到的组织级别信息错误,组织Id:%s", formDTO.getOrgId()));
|
|
|
return resultList; |
|
|
return resultList; |
|
@ -92,7 +92,7 @@ public class FactIndexServiceImpl implements FactIndexService { |
|
|
//网格层级数据
|
|
|
//网格层级数据
|
|
|
} else if (FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
} else if (FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
//5.查询网格过去12个月党建能力、治理能力、服务能力每月总分数据
|
|
|
//5.查询网格过去12个月党建能力、治理能力、服务能力每月总分数据
|
|
|
list = factIndexGridScoreDao.selectGridAblityIndex(formDTO); |
|
|
list = factIndexGridScoreDao.selectGridAblityWeightScore(formDTO); |
|
|
} else { |
|
|
} else { |
|
|
throw new RenException(String.format("能力指数查询,orgType类型错误,组织Id:%s,类型Type:%s", formDTO.getOrgId(), formDTO.getOrgType())); |
|
|
throw new RenException(String.format("能力指数查询,orgType类型错误,组织Id:%s,类型Type:%s", formDTO.getOrgId(), formDTO.getOrgType())); |
|
|
} |
|
|
} |
|
@ -229,12 +229,12 @@ public class FactIndexServiceImpl implements FactIndexService { |
|
|
//区县级、乡镇街道级
|
|
|
//区县级、乡镇街道级
|
|
|
if ("district".equals(agency.getLevel()) || "street".equals(agency.getLevel())) { |
|
|
if ("district".equals(agency.getLevel()) || "street".equals(agency.getLevel())) { |
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
list = factIndexAgencyScoreDao.selectMonthScoreList(formDTO); |
|
|
list = factIndexAgencyScoreDao.selectAgencyMonthWeightScoreList(formDTO); |
|
|
|
|
|
|
|
|
//社区级
|
|
|
//社区级
|
|
|
} else if ("community".equals(agency.getLevel())) { |
|
|
} else if ("community".equals(agency.getLevel())) { |
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
//4-1.查询过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
list = factIndexCommunityScoreDao.selectCommunityMonthScoreList(formDTO); |
|
|
list = factIndexCommunityScoreDao.selectCommunityMonthWeightScoreList(formDTO); |
|
|
} else { |
|
|
} else { |
|
|
//throw new RenException(String.format("根据组织Id查询到的组织级别信息错误,组织Id:%s", formDTO.getOrgId()));
|
|
|
//throw new RenException(String.format("根据组织Id查询到的组织级别信息错误,组织Id:%s", formDTO.getOrgId()));
|
|
|
return resultList; |
|
|
return resultList; |
|
@ -242,7 +242,7 @@ public class FactIndexServiceImpl implements FactIndexService { |
|
|
//网格层级数据
|
|
|
//网格层级数据
|
|
|
} else if (FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
} else if (FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
//5.查询网格过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
//5.查询网格过去12个月党建能力、治理能力、服务能力每月总分、本级得分、下级得分数据
|
|
|
list = factIndexGridScoreDao.selectGridMonthScoreList(formDTO); |
|
|
list = factIndexGridScoreDao.selectGridMonthWeightScoreList(formDTO); |
|
|
} else { |
|
|
} else { |
|
|
throw new RenException(String.format("能力指数查询,orgType类型错误,组织Id:%s,类型Type:%s", formDTO.getOrgId(), formDTO.getOrgType())); |
|
|
throw new RenException(String.format("能力指数查询,orgType类型错误,组织Id:%s,类型Type:%s", formDTO.getOrgId(), formDTO.getOrgType())); |
|
|
} |
|
|
} |
|
|