update 订单相关修改

This commit is contained in:
Lemon
2023-03-14 09:19:47 +08:00
parent db31e0679b
commit 1b3fa33bb8
9 changed files with 78 additions and 15 deletions

View File

@@ -337,7 +337,7 @@ public class PileService {
}
String orderCode = basicInfo.getOrderCode();
// 根据订单号从redis中获取实时数据信息(默认时间倒叙排列,所以取第一条)
List<RealTimeMonitorData> chargingRealTimeData = orderBasicInfoService.getChargingRealTimeData(orderCode);
List<RealTimeMonitorData> chargingRealTimeData = orderBasicInfoService.getChargingRealTimeData(basicInfo.getTransactionCode());
if (CollectionUtils.isEmpty(chargingRealTimeData)) {
throw new BusinessException(ReturnCodeEnum.CODE_NO_REAL_TIME_INFO);
}