update 运营端小程序查询充电枪口详情接口添加字段

This commit is contained in:
Lemon
2026-01-07 15:34:06 +08:00
parent bcbb07d596
commit 3be12178fd
2 changed files with 12 additions and 1 deletions

View File

@@ -1238,9 +1238,15 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
}
RealTimeMonitorData realTimeMonitorData = chargingRealTimeData.get(0);
String startSoc = orderBasicInfo.getStartSoc();
Date chargeStartTime = orderBasicInfo.getChargeStartTime();
String startTime = "-";
if (chargeStartTime != null) {
// 转换成 字符串
startTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, chargeStartTime);
}
String endSoc = realTimeMonitorData.getSOC();
detailVO.setChargeStartTime(startTime);
detailVO.setStartSOC(startSoc);
detailVO.setEndSOC(endSoc);
detailVO.setChargeDegree(realTimeMonitorData.getChargingDegree()); // 充电度数

View File

@@ -56,4 +56,9 @@ public class BusinessConnectorDetailVO {
* 故障原因
*/
private String faultReason;
/**
* 充电开始时间
*/
private String chargeStartTime;
}