| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.enums.AreaLevelEnum; |
| | | import com.ruoyi.common.enums.DataScreenConfigEnum; |
| | | import com.ruoyi.common.enums.SubTypeEnum; |
| | | import com.ruoyi.system.domain.TbDataScreenScore; |
| | | import com.ruoyi.system.vo.DataScreenScoreVO; |
| | | import com.ruoyi.system.vo.RiskMapVO; |
| | | import com.ruoyi.system.vo.RiskRankingVO; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface TbDataScreenScoreService extends IService<TbDataScreenScore> { |
| | | |
| | | List<RiskMapVO> queryScore4Map(String nowQuarter, Long dataScreenConfigId); |
| | | |
| | | List<RiskRankingVO> queryRiskRanking(Long dataScreenConfigId, String nowQuarter, |
| | | AreaLevelEnum areaLevelEnum); |
| | | |
| | | List<TbDataScreenScore> selectRiskByQuarter(String nowQuarter, Long dataScreenConfigId, |
| | | String areaCode); |
| | | |
| | | /** |
| | | * @param areaCode |
| | | * @param dataScreenConfigId |
| | | * @param yearType 1:今年 2:去年 |
| | | * @return |
| | | */ |
| | | List<DataScreenScoreVO> queryScoreByAreaAndYear(String areaCode, Long dataScreenConfigId, |
| | | Integer yearType); |
| | | |
| | | /** |
| | | * @param areaCode |
| | | * @param nowQuarter |
| | | * @param dataScreenConfigEnum |
| | | * @param yearType 1:今年 2:去年 |
| | | * @return |
| | | */ |
| | | List<DataScreenScoreVO> selectIndicators(String areaCode, String nowQuarter, |
| | | DataScreenConfigEnum dataScreenConfigEnum, Integer yearType); |
| | | |
| | | Integer getRankByScore(Double score, SubTypeEnum subType, String areaCode, String nowQuarter, |
| | | DataScreenConfigEnum dataScreenConfigEnum); |
| | | } |