保存蓝牙充电记录

This commit is contained in:
Guoqs
2024-11-22 11:19:45 +08:00
parent 164f9d2fa1
commit 30079ad6c3
2 changed files with 6 additions and 0 deletions

View File

@@ -641,6 +641,7 @@ public class PileService {
PersonPileConnectorSumInfoVO vo;
for (PersonalChargingRecord personalChargingRecord : pageInfo.getList()) {
vo = new PersonPileConnectorSumInfoVO();
vo.setSourceType(personalChargingRecord.getSourceType());
if (personalChargingRecord.getChargeStartTime() != null && personalChargingRecord.getChargeEndTime() != null){
vo.setChargeStartTime(DateUtils.dateTime(personalChargingRecord.getChargeStartTime()));
vo.setChargeEndTime(DateUtils.dateTime(personalChargingRecord.getChargeEndTime()));

View File

@@ -41,4 +41,9 @@ public class PersonPileConnectorSumInfoVO {
* 累计充电时长
*/
private String sumChargingTime;
/**
* 来源(4G/BT) sourceType
*/
private String sourceType;
}