You've already forked FrameTour-BE
refactor(statistics): 切换数据查询服务并优化扫码统计功能
- 将 BrokerBiz 和 OrderBiz 中的数据查询从 StatisticsMapper 切换到 StatsQueryService - 更新 StatisticsServiceImpl 使用 StatsQueryService 进行数据查询 - 添加订单数据合并功能到扫码统计图表中 - 重构扫码统计查询逻辑以支持统计数据和订单数据的合并显示 - 新增按小时和按日期统计订单数据的查询方法 - 优化 SQL 查询以分离统计数据和订单数据的查询逻辑
This commit is contained in:
@@ -105,10 +105,26 @@ public interface StatisticsMapper {
|
||||
|
||||
List<HashMap<String, String>> orderChartByHour(CommonQueryReq query);
|
||||
|
||||
/**
|
||||
* 按小时统计扫码人数(仅统计数据,不含订单)
|
||||
*/
|
||||
List<HashMap<String, String>> scanCodeMemberChartByHour(CommonQueryReq query);
|
||||
|
||||
/**
|
||||
* 按日期统计扫码人数(仅统计数据,不含订单)
|
||||
*/
|
||||
List<HashMap<String, String>> scanCodeMemberChartByDate(CommonQueryReq query);
|
||||
|
||||
/**
|
||||
* 按小时统计订单数据
|
||||
*/
|
||||
List<HashMap<String, String>> orderChartByHourForMerge(CommonQueryReq query);
|
||||
|
||||
/**
|
||||
* 按日期统计订单数据
|
||||
*/
|
||||
List<HashMap<String, String>> orderChartByDateForMerge(CommonQueryReq query);
|
||||
|
||||
/**
|
||||
* 统计分销员扫码次数
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user