|
|
@ -4,7 +4,6 @@ import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
|
import com.epmet.constant.DataSourceConstant; |
|
|
|
import com.epmet.datareport.constant.FactConstant; |
|
|
|
import com.epmet.datareport.dao.evaluationindex.screen.ScreenEventDataDao; |
|
|
|
import com.epmet.datareport.dao.evaluationindex.screen.ScreenPartyUserRankDataDao; |
|
|
|
import com.epmet.datareport.service.evaluationindex.screen.ScreenUserService; |
|
|
|
import com.epmet.evaluationindex.screen.dto.form.PartIndexScroeRankFormDTO; |
|
|
@ -34,6 +33,7 @@ public class ScreenUserServiceImpl implements ScreenUserService { |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@DataSource(value = DataSourceConstant.EVALUATION_INDEX, datasourceNameFromArg = true) |
|
|
|
public List<UserPointRankListResultDTO> userPointRank(UserPointRankFormDTO formDTO) { |
|
|
|
//1.参数校验
|
|
|
|
if (!FactConstant.AGENCY.equals(formDTO.getOrgType()) && !FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
@ -49,6 +49,7 @@ public class ScreenUserServiceImpl implements ScreenUserService { |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@DataSource(value = DataSourceConstant.EVALUATION_INDEX, datasourceNameFromArg = true) |
|
|
|
public List<PartIndexScroeRankResultDTO> partIndexScroeRank(PartIndexScroeRankFormDTO formDTO) { |
|
|
|
//1.参数校验
|
|
|
|
if (!FactConstant.AGENCY.equals(formDTO.getOrgType()) && !FactConstant.GRID.equals(formDTO.getOrgType())) { |
|
|
|