| | |
| | | import com.finance.system.service.TbBasicDataConfigService; |
| | | import com.finance.system.service.TbScoreService; |
| | | import com.finance.system.vo.DeptCalculateDetailVO; |
| | | import com.finance.system.vo.RiskMapVO; |
| | | import com.finance.system.vo.RiskRankingVO; |
| | | import com.finance.system.vo.ScoreCalculateDetailVO; |
| | | import com.finance.system.vo.ScoreDetailVO; |
| | | import com.finance.system.vo.ScoreRankVO; |
| | |
| | | |
| | | @Override |
| | | public ScoreCalculateDetailVO scoreCalculateDetail(ScoreCalculateDetailQuery query) { |
| | | //查询计算类型 |
| | | // 查询计算类型 |
| | | TbBasicDataConfig config = basicDataConfigService.getById(query.getId()); |
| | | if (Objects.isNull(config)) { |
| | | throw new ServiceException("非法参数"); |
| | |
| | | @Override |
| | | public ScoreCalculateDetailVO fieldsDetail(CalculateDetailQuery query, |
| | | List<SysUser> countyList) { |
| | | //查询计算类型 |
| | | // 查询计算类型 |
| | | TbBasicDataConfig config = basicDataConfigService.getById(query.getId()); |
| | | if (Objects.isNull(config)) { |
| | | throw new ServiceException("非法参数"); |
| | |
| | | vo.setList(pageVO.getRecords()); |
| | | return vo; |
| | | } |
| | | |
| | | @Override |
| | | public List<RiskMapVO> getCurrentScoreList(String nowQuarter, String areaCode) { |
| | | return baseMapper.getCurrentScoreList(nowQuarter, areaCode); |
| | | } |
| | | |
| | | @Override |
| | | public List<RiskRankingVO> queryRiskRanking(String nowQuarter) { |
| | | return baseMapper.queryRiskRanking(nowQuarter); |
| | | } |
| | | |
| | | /** |
| | | * @param areaCode 区划代码 |
| | | * @param yearType 年份类型 1=今年 2=去年 |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<RiskMapVO> getScoreByYearType(String areaCode, Integer yearType) { |
| | | return baseMapper.getScoreByYearType(areaCode, yearType); |
| | | } |
| | | } |