mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
update 电单车
This commit is contained in:
@@ -46,7 +46,7 @@ public class OccupyOrderController extends BaseController {
|
||||
// logger.info("查询站点占桩费率 params:{}", stationId);
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
BillingTemplateVO vo = pileBillingTemplateService.queryUsedBillingTemplate(stationId);
|
||||
BillingTemplateVO vo = pileBillingTemplateService.queryUsedBillingTemplateForEV(stationId);
|
||||
response = new RestApiResponse<>(vo);
|
||||
} catch (Exception e) {
|
||||
logger.error("查询站点占桩费率 error,", e);
|
||||
|
||||
@@ -3370,12 +3370,12 @@ public class SpringBootTestController {
|
||||
|
||||
@Test
|
||||
public void testGenerateBillingTemplateMsgBody() {
|
||||
String pileSn = "88000000000001";
|
||||
String pileSn = "13273881";
|
||||
// 根据桩号查询计费模板
|
||||
BillingTemplateVO billingTemplateVO = pileBillingTemplateService.selectBillingTemplateDetailByPileSn(pileSn);
|
||||
|
||||
byte[] messageBody = pileBillingTemplateService.generateBillingTemplateMsgBody(pileSn, billingTemplateVO);
|
||||
System.out.println(BytesUtil.binary(messageBody, 16));
|
||||
System.out.println(billingTemplateVO);
|
||||
// byte[] messageBody = pileBillingTemplateService.generateBillingTemplateMsgBody(pileSn, billingTemplateVO);
|
||||
// System.out.println(BytesUtil.binary(messageBody, 16));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user