mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-13 18:48:04 +08:00
update 首页数据大屏
This commit is contained in:
@@ -189,4 +189,11 @@ public interface MemberBasicInfoService {
|
||||
* @return 会员总数
|
||||
*/
|
||||
Long countTotalMembers();
|
||||
|
||||
/**
|
||||
* 统计今日新增会员数
|
||||
*
|
||||
* @return 今日新增会员数
|
||||
*/
|
||||
Long countTodayNewMembers();
|
||||
}
|
||||
|
||||
@@ -258,4 +258,25 @@ public interface PileBasicInfoService {
|
||||
* @return
|
||||
*/
|
||||
int movePile2AnotherStation(ReplaceMerchantStationDTO dto);
|
||||
|
||||
/**
|
||||
* 查询当日累计交易金额
|
||||
*
|
||||
* @return 当日交易金额
|
||||
*/
|
||||
java.math.BigDecimal getTodayTransactionAmount();
|
||||
|
||||
/**
|
||||
* 查询当日充电电量
|
||||
*
|
||||
* @return 当日充电电量
|
||||
*/
|
||||
java.math.BigDecimal getTodayElectricity();
|
||||
|
||||
/**
|
||||
* 查询本月日均充电电量
|
||||
*
|
||||
* @return 月均充电电量
|
||||
*/
|
||||
java.math.BigDecimal getMonthlyAvgElectricity();
|
||||
}
|
||||
|
||||
@@ -191,4 +191,32 @@ public interface PileConnectorInfoService {
|
||||
* @return
|
||||
*/
|
||||
public Map<String, Object> getConnectorStatusNum(List<String> stationIds, String connectorStatus);
|
||||
|
||||
/**
|
||||
* 统计充电枪总数
|
||||
*
|
||||
* @return 充电枪总数
|
||||
*/
|
||||
Long countTotalConnectors();
|
||||
|
||||
/**
|
||||
* 统计在线充电桩数量
|
||||
*
|
||||
* @return 在线充电桩数量
|
||||
*/
|
||||
Long countOnlinePiles();
|
||||
|
||||
/**
|
||||
* 统计直流充电桩数量(快充)
|
||||
*
|
||||
* @return 直流充电桩数量
|
||||
*/
|
||||
Long countDcPiles();
|
||||
|
||||
/**
|
||||
* 统计交流充电桩数量(慢充)
|
||||
*
|
||||
* @return 交流充电桩数量
|
||||
*/
|
||||
Long countAcPiles();
|
||||
}
|
||||
|
||||
@@ -920,4 +920,9 @@ public class MemberBasicInfoServiceImpl implements MemberBasicInfoService {
|
||||
return memberBasicInfoMapper.countTotalMembers();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Long countTodayNewMembers() {
|
||||
return memberBasicInfoMapper.countTodayNewMembers();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1633,4 +1633,19 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
.build();
|
||||
pileTransactionService.doCreatePileTransaction(transactionDTO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.math.BigDecimal getTodayTransactionAmount() {
|
||||
return pileBasicInfoMapper.getTodayTransactionAmount();
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.math.BigDecimal getTodayElectricity() {
|
||||
return pileBasicInfoMapper.getTodayElectricity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.math.BigDecimal getMonthlyAvgElectricity() {
|
||||
return pileBasicInfoMapper.getMonthlyAvgElectricity();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1304,4 +1304,24 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
||||
Set<String> set = new HashSet<>(list);
|
||||
return set.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Long countTotalConnectors() {
|
||||
return pileConnectorInfoMapper.countTotalConnectors();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Long countOnlinePiles() {
|
||||
return pileConnectorInfoMapper.countOnlinePiles();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Long countDcPiles() {
|
||||
return pileConnectorInfoMapper.countDcPiles();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Long countAcPiles() {
|
||||
return pileConnectorInfoMapper.countAcPiles();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user