通过桩sn号查询计费模板 加缓存

This commit is contained in:
Guoqs
2024-11-21 14:28:39 +08:00
parent b011f640f7
commit 61a66d43b2
3 changed files with 23 additions and 1 deletions

View File

@@ -635,6 +635,14 @@ public class SpringBootTestController {
// memberAdapayRecordService.unfreezeAmountAndUpdateSpendAmount("test01", payAmount, refundAmt);
}
@Test
public void selectBillingTemplateDetailByPileSnTest() {
String pileSn = "88000000000001";
// 查询充电桩的计费模板
BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);
System.out.println(JSON.toJSONString(billingTemplateVO));
}
// 生成订单
private OrderBasicInfo generateAnOrder() throws ParseException {
GenerateOrderDTO dto = new GenerateOrderDTO();