发送启动充电指令前不下发计费模板

This commit is contained in:
Lemon
2024-11-04 08:14:02 +08:00
parent d331e2ec5f
commit 340761e818

View File

@@ -3181,9 +3181,9 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
String pileSn = orderInfo.getPileSn();
// 发送启动充电指令前,再次下发计费模板
BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);
pileRemoteService.publishPileBillingTemplate(pileSn, billingTemplateVO);
logger.info("发送启动充电指令前,再次下发计费模板, transactionCode:{}, 计费模板:{}", orderInfo.getTransactionCode(), JSON.toJSONString(billingTemplateVO));
// BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);
// pileRemoteService.publishPileBillingTemplate(pileSn, billingTemplateVO);
// logger.info("发送启动充电指令前,再次下发计费模板, transactionCode:{}, 计费模板:{}", orderInfo.getTransactionCode(), JSON.toJSONString(billingTemplateVO));
if (sendStartCharging) {
// String pileSn = orderInfo.getPileSn();