mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 统计查询范围
This commit is contained in:
@@ -1116,7 +1116,8 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
|
||||
//时间格式化
|
||||
startTime = DateUtils.convertDateToDateTime(startTime);
|
||||
endTime = DateUtils.convertDateToDateTime(endTime);
|
||||
endTime = DateUtils.getEndTime(endTime);
|
||||
|
||||
|
||||
List<SupStationStatsVO> orderBasicInfos;
|
||||
try {
|
||||
@@ -1267,14 +1268,13 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
|
||||
SupStationStatsInfo supStationStatsInfo = SupStationStatsInfo.builder()
|
||||
.stationId(stationId)
|
||||
.startTime(startChargeTime)
|
||||
.endTime(endChargeTime)
|
||||
.startTime(dto.getStartTime())
|
||||
.endTime(dto.getEndTime())
|
||||
.stationElectricity(stationTotalElectricity.setScale(2, BigDecimal.ROUND_HALF_UP))
|
||||
.stationTotalChargeNum(orderBasicInfos.size())
|
||||
.stationTotalChargeTime(stationTotalChargeTime)
|
||||
.stationTotalWarningNum(0)
|
||||
.equipmentStatsInfos(equipmentStatsInfoList)
|
||||
.supEquipmentStatsInfos(equipmentStatsInfoList)
|
||||
.build();
|
||||
|
||||
Map<String, Object> map = new LinkedHashMap<>();
|
||||
@@ -1446,8 +1446,8 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
|
||||
SupStationStatsInfo supStationStatsInfo = SupStationStatsInfo.builder()
|
||||
.stationId(stationId)
|
||||
.startTime(startChargeTime)
|
||||
.endTime(endChargeTime)
|
||||
.startTime(DateUtils.convertDateTimeToDate(startChargeTime))
|
||||
.endTime(DateUtils.convertDateTimeToDate(endChargeTime))
|
||||
.stationElectricity(stationTotalElectricity.setScale(2, BigDecimal.ROUND_HALF_UP))
|
||||
.stationTotalChargeNum(orderBasicInfos.size())
|
||||
.stationTotalChargeTime(stationTotalChargeTime)
|
||||
@@ -1684,7 +1684,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
equipmentStatsInfo.setEquipmentTotalChargeNum(connectorList.size()); // 改为每个桩的订单数
|
||||
equipmentStatsInfo.setEquipmentTotalWarningNum(0);
|
||||
equipmentStatsInfo.setConnectorStatsInfos(connectorList);
|
||||
equipmentStatsInfo.setSupconnectorStatsInfos(connectorList);
|
||||
// equipmentStatsInfo.setSupconnectorStatsInfos(connectorList);
|
||||
|
||||
resultList.add(equipmentStatsInfo);
|
||||
log.debug("添加桩统计信息: 桩编号={}, 电量={}, 充电时长={}, 枪数量={}",
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
public class StationStatusInfoVO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@JSONField(name = "StationId")
|
||||
@JSONField(name = "StationID")
|
||||
private String stationId;
|
||||
|
||||
@JSONField(name = "ConnectorStatusInfos")
|
||||
|
||||
Reference in New Issue
Block a user