refactor: 重构仪表盘查询地域分析接口

This commit is contained in:
2024-11-04 20:59:47 +08:00
parent b927470e33
commit e0e157f0e5
6 changed files with 83 additions and 46 deletions

View File

@@ -99,6 +99,13 @@ public interface LogMapper extends BaseMapper<LogDO> {
@Cached(key = "#months[0]", name = CacheConstants.DASHBOARD_KEY_PREFIX + "IP:")
List<DashboardChartCommonResp> selectListDashboardAnalysisIp(@Param("months") List<String> months);
/**
* 查询仪表盘地域分析信息
*
* @return 仪表盘地域分析信息
*/
List<DashboardChartCommonResp> selectListDashboardAnalysisGeo();
/**
* 查询仪表盘访问趋势信息
*
@@ -116,14 +123,6 @@ public interface LogMapper extends BaseMapper<LogDO> {
*/
List<DashboardChartCommonResp> selectListDashboardAnalysisTimeslot();
/**
* 查询仪表盘地域分析信息
*
* @param top 显示数量
* @return 仪表盘地域分析信息
*/
List<DashboardChartCommonResp> selectListDashboardAnalysisGeo(@Param("top") Integer top);
/**
* 查询仪表盘模块分析信息
*