mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 电单车
This commit is contained in:
@@ -294,7 +294,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
List<RealTimeMonitorData> chargingRealTimeData = getChargingRealTimeData(orderListVO.getTransactionCode());
|
||||
if (CollectionUtils.isNotEmpty(chargingRealTimeData)) {
|
||||
RealTimeMonitorData realTimeMonitorData = chargingRealTimeData.get(0);
|
||||
orderListVO.setRealTimeAmount(new BigDecimal(realTimeMonitorData.getChargingAmount()));
|
||||
orderListVO.setRealTimeAmount(realTimeMonitorData.getChargingAmount() != null ? new BigDecimal(realTimeMonitorData.getChargingAmount()) : BigDecimal.ZERO);
|
||||
orderListVO.setRealTimeChargingDegree(realTimeMonitorData.getChargingDegree());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user