update 首页数据大屏

This commit is contained in:
Lemon
2026-05-25 14:35:00 +08:00
parent a3fdff2a63
commit 19710e588e
14 changed files with 313 additions and 0 deletions

View File

@@ -147,4 +147,11 @@ public interface MemberBasicInfoMapper {
* @return 会员总数
*/
Long countTotalMembers();
/**
* 统计今日新增会员数
*
* @return 今日新增会员数
*/
Long countTodayNewMembers();
}

View File

@@ -179,4 +179,25 @@ public interface PileBasicInfoMapper {
List<PileDetailInfoVO> getPileDetailInfoList(String stationId);
int movePile2AnotherStation(ReplaceMerchantStationDTO dto);
/**
* 查询当日累计交易金额
*
* @return 当日交易金额
*/
java.math.BigDecimal getTodayTransactionAmount();
/**
* 查询当日充电电量
*
* @return 当日充电电量
*/
java.math.BigDecimal getTodayElectricity();
/**
* 查询本月日均充电电量
*
* @return 月均充电电量
*/
java.math.BigDecimal getMonthlyAvgElectricity();
}

View File

@@ -150,4 +150,32 @@ public interface PileConnectorInfoMapper {
* @return
*/
List<String> queryAbnormalDeviceCount(String stationId);
/**
* 统计充电枪总数
*
* @return 充电枪总数
*/
Long countTotalConnectors();
/**
* 统计在线充电桩数量(枪口状态不为离网和故障的桩)
*
* @return 在线充电桩数量
*/
Long countOnlinePiles();
/**
* 统计直流充电桩数量(快充)
*
* @return 直流充电桩数量
*/
Long countDcPiles();
/**
* 统计交流充电桩数量(慢充)
*
* @return 交流充电桩数量
*/
Long countAcPiles();
}