mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-04 22:18:02 +08:00
支付成功后就下发计费模板
This commit is contained in:
@@ -3178,8 +3178,15 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
|||||||
}
|
}
|
||||||
orderInfo.setPayTime(new Date());
|
orderInfo.setPayTime(new Date());
|
||||||
|
|
||||||
|
String pileSn = orderInfo.getPileSn();
|
||||||
|
|
||||||
|
// 发送启动充电指令前,再次下发计费模板
|
||||||
|
BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);
|
||||||
|
pileRemoteService.publishPileBillingTemplate(pileSn, billingTemplateVO);
|
||||||
|
logger.info("发送启动充电指令前,再次下发计费模板, transactionCode:{}, 计费模板:{}", orderInfo.getTransactionCode(), JSON.toJSONString(billingTemplateVO));
|
||||||
|
|
||||||
if (sendStartCharging) {
|
if (sendStartCharging) {
|
||||||
String pileSn = orderInfo.getPileSn();
|
// String pileSn = orderInfo.getPileSn();
|
||||||
String pileConnectorCode = orderInfo.getPileConnectorCode();
|
String pileConnectorCode = orderInfo.getPileConnectorCode();
|
||||||
// 获取桩信息
|
// 获取桩信息
|
||||||
PileConnectorDetailVO pileConnectorDetailVO = pileBasicInfoService.queryPileConnectorDetail(pileConnectorCode);
|
PileConnectorDetailVO pileConnectorDetailVO = pileBasicInfoService.queryPileConnectorDetail(pileConnectorCode);
|
||||||
|
|||||||
Reference in New Issue
Block a user