update 首页数据大屏

This commit is contained in:
Lemon
2026-05-26 16:19:19 +08:00
parent 52b1535216
commit 05699d5686
15 changed files with 483 additions and 106 deletions

View File

@@ -149,9 +149,9 @@ public interface MemberBasicInfoMapper {
Long countTotalMembers();
/**
* 统计今日新增会员数
* 统计今日新增会员数,日期由代码传入
*
* @return 今日新增会员数
*/
Long countTodayNewMembers();
Long countTodayNewMembers(@Param("startTime") String startTime, @Param("endTime") String endTime);
}

View File

@@ -490,4 +490,14 @@ public interface OrderBasicInfoMapper {
* @return 时段分布数据
*/
List<TimeDistributionVO> getTimeDistribution(@Param("dto") IndexQueryDTO dto);
/**
* 大数据平台-今日订单金额明细Java汇总日期由代码传入
*/
List<java.math.BigDecimal> getTodayOrderAmountRows(@Param("startTime") String startTime, @Param("endTime") String endTime);
/**
* 大数据平台-今日充电电量明细Java汇总日期由代码传入
*/
List<java.math.BigDecimal> getTodayElectricityRows(@Param("startTime") String startTime, @Param("endTime") String endTime);
}

View File

@@ -142,7 +142,7 @@ public interface PileBasicInfoMapper {
* @param dto 站点Id
* @return 首页基本信息
*/
public IndexGeneralSituationVO getGeneralSituationInfo(@Param("IndexQueryDTO")IndexQueryDTO dto);
public List<IndexGeneralSituationVO> getGeneralSituationInfo(@Param("IndexQueryDTO")IndexQueryDTO dto);
/**
* 通过会员id查询个人桩列表
@@ -181,23 +181,29 @@ public interface PileBasicInfoMapper {
int movePile2AnotherStation(ReplaceMerchantStationDTO dto);
/**
* 查询当日累计交易金额
*
* @return 当日交易金额
*/
java.math.BigDecimal getTodayTransactionAmount();
/**
* 查询当日充电电量
*
* @return 当日充电电量
*/
java.math.BigDecimal getTodayElectricity();
/**
* 查询本月日均充电电量
* 查询本月日均充电电量,日期由代码传入
*
* @return 月均充电电量
*/
java.math.BigDecimal getMonthlyAvgElectricity();
List<java.math.BigDecimal> getMonthlyAvgElectricity(@Param("monthStartDate") String monthStartDate, @Param("monthEndDate") String monthEndDate);
/**
* 根据站点ID列表统计充电桩总数
*/
Long countTotalPilesByStationIds(@Param("stationIdList") List<String> stationIdList);
/**
* 根据商户ID列表统计充电桩总数
*/
Long countTotalPilesByMerchantIds(@Param("merchantIdList") List<String> merchantIdList);
/**
* 按merchantId分组汇总settle_order_report每个商户一行Java再汇总
*/
List<IndexGeneralSituationVO> getSettleReportGroupByMerchant(@Param("merchantIdList") List<String> merchantIdList);
/**
* 按stationId分组汇总settle_order_report每个站点一行Java再汇总
*/
List<IndexGeneralSituationVO> getSettleReportGroupByStation(@Param("stationIdList") List<String> stationIdList);
}