|
|
@ -1,7 +1,9 @@ |
|
|
|
package com.epmet.datareport.service.screen.impl; |
|
|
|
|
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.constant.DataSourceConstant; |
|
|
|
import com.epmet.datareport.dao.screen.*; |
|
|
|
import com.epmet.datareport.service.screen.GrassRootsGovernService; |
|
|
|
import com.epmet.datareport.utils.DateUtils; |
|
|
@ -50,6 +52,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.20 11:16 |
|
|
|
**/ |
|
|
|
@DataSource(value = DataSourceConstant.STATS,datasourceNameFromArg = true) |
|
|
|
@Override |
|
|
|
public UserPointRankResultDTO userPointRank(AgencyAndNumFormDTO param) { |
|
|
|
//默认5
|
|
|
@ -73,6 +76,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.20 13:55 |
|
|
|
**/ |
|
|
|
@DataSource(value = DataSourceConstant.STATS,datasourceNameFromArg = true) |
|
|
|
@Override |
|
|
|
public List<DifficultProjectResultDTO> difficultProject(AgencyNumTypeParamFormDTO param) { |
|
|
|
if(null == param.getTopNum()){ |
|
|
@ -93,6 +97,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.20 14:37 |
|
|
|
**/ |
|
|
|
@DataSource(value = DataSourceConstant.STATS,datasourceNameFromArg = true) |
|
|
|
@Override |
|
|
|
public PublicPartiProfileResultDTO publicPartiProfile(AgencyFormDTO param) { |
|
|
|
|
|
|
@ -114,6 +119,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.20 15:32 |
|
|
|
**/ |
|
|
|
@DataSource(value = DataSourceConstant.STATS,datasourceNameFromArg = true) |
|
|
|
@Override |
|
|
|
public List<PublicPartiRankResultDTO> publicPartiRank(AgencyAndNumFormDTO param) { |
|
|
|
if(null == param.getTopNum()) param.setTopNum(NumConstant.TWO); |
|
|
@ -132,6 +138,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.20 17:46 |
|
|
|
**/ |
|
|
|
@DataSource(value = DataSourceConstant.STATS,datasourceNameFromArg = true) |
|
|
|
@Override |
|
|
|
public List<GovernCapacityRankResultDTO> governCapacityRank(AgencyAndNumFormDTO param) { |
|
|
|
if(null == param.getTopNum()) param.setTopNum(NumConstant.FIVE); |
|
|
|