You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.3 KiB
113 lines
3.3 KiB
|
6 years ago
|
package feign.impl;
|
||
|
6 years ago
|
|
||
|
|
import com.epmet.commons.tools.constant.ServiceConstant;
|
||
|
|
import com.epmet.commons.tools.utils.ModuleUtils;
|
||
|
|
import com.epmet.commons.tools.utils.Result;
|
||
|
6 years ago
|
import feign.DataStatisticalOpenFeignClient;
|
||
|
6 years ago
|
import org.springframework.stereotype.Component;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* desc:
|
||
|
|
*
|
||
|
|
* @return:
|
||
|
|
* @date: 2020/6/22 9:38
|
||
|
|
* @author: jianjun liu
|
||
|
|
* email:liujianjun@git.elinkit.com.cn
|
||
|
|
*/
|
||
|
|
@Component
|
||
|
6 years ago
|
public class DataStatisticalOpenFeignClientFallBack implements DataStatisticalOpenFeignClient {
|
||
|
6 years ago
|
|
||
|
|
/**
|
||
|
|
* desc: 【日】统计文章总数及在线文章总数 包含 机关 部门 网格
|
||
|
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
|
public Result articleSummaryDailyStatsjob() {
|
||
|
6 years ago
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "articleSummaryDailyStatsjob");
|
||
|
6 years ago
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* desc: 定时任务 【日】统计文章总数及在线文章总数 包含 机关 部门 网格
|
||
|
|
*
|
||
|
|
* @return:
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
|
public Result tagUsedDailyStatsjob() {
|
||
|
6 years ago
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagUsedDailyStatsjob");
|
||
|
6 years ago
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
6 years ago
|
* desc: 【月】 统计发表文章最多的分类 包含 机关 部门 网格
|
||
|
6 years ago
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
6 years ago
|
public Result tagUsedMonthlyStatsjob() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagUsedMonthlyStatsjob");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* desc: 【季,年】 统计发表文章最多的分类 包含 机关 部门 网格
|
||
|
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
|
public Result tagUsedQuarterlyStatsjob() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagUsedQuarterlyStatsjob");
|
||
|
6 years ago
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* desc: 【日】 统计阅读最多的标签 包含 机关 网格
|
||
|
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
6 years ago
|
public Result tagViewedDailyStatsjob() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagViewedDailyStatsjob");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* desc: 【月】 统计阅读最多的标签 包含 机关 网格
|
||
|
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
|
public Result tagViewedMonthlyStatsjob() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagViewedMonthlyStatsjob");
|
||
|
6 years ago
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
6 years ago
|
* desc: 【季,年】 统计阅读最多的标签 包含 机关 网格
|
||
|
6 years ago
|
*
|
||
|
|
* @date: 2020/6/22 9:09
|
||
|
|
* @author: jianjun liu
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
6 years ago
|
public Result tagViewedQuarterlyStatsjob() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "tagViewedQuarterlyStatsjob");
|
||
|
6 years ago
|
}
|
||
|
6 years ago
|
|
||
|
|
@Override
|
||
|
|
public Result groupGridDaily() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "groupGridDaily");
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public Result groupAgencyDaily() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "groupAgencyDaily");
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public Result groupAgencyMonthly() {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.DATA_STATISTICAL, "groupAgencyMonthly");
|
||
|
|
}
|
||
|
6 years ago
|
}
|