mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-23 00:29:46 +08:00
update 运营端小程序查询充电枪口详情接口添加字段
This commit is contained in:
@@ -1238,9 +1238,15 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
|||||||
}
|
}
|
||||||
RealTimeMonitorData realTimeMonitorData = chargingRealTimeData.get(0);
|
RealTimeMonitorData realTimeMonitorData = chargingRealTimeData.get(0);
|
||||||
String startSoc = orderBasicInfo.getStartSoc();
|
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();
|
String endSoc = realTimeMonitorData.getSOC();
|
||||||
|
|
||||||
|
detailVO.setChargeStartTime(startTime);
|
||||||
detailVO.setStartSOC(startSoc);
|
detailVO.setStartSOC(startSoc);
|
||||||
detailVO.setEndSOC(endSoc);
|
detailVO.setEndSOC(endSoc);
|
||||||
detailVO.setChargeDegree(realTimeMonitorData.getChargingDegree()); // 充电度数
|
detailVO.setChargeDegree(realTimeMonitorData.getChargingDegree()); // 充电度数
|
||||||
|
|||||||
@@ -56,4 +56,9 @@ public class BusinessConnectorDetailVO {
|
|||||||
* 故障原因
|
* 故障原因
|
||||||
*/
|
*/
|
||||||
private String faultReason;
|
private String faultReason;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 充电开始时间
|
||||||
|
*/
|
||||||
|
private String chargeStartTime;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user