新增 运营端小程序收费明细接口

(cherry picked from commit d5eae744a28c1b29a7cbed0019239e05da3868f7)
This commit is contained in:
Lemon
2024-10-24 14:12:10 +08:00
committed by Guoqs
parent 7e1bd61390
commit 4989868d65
5 changed files with 153 additions and 1 deletions

View File

@@ -506,7 +506,8 @@ public class TransactionRecordsRequestHandler extends AbstractYkcHandler {
length = 1;
byte[] stopReasonByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
String stopReason = BytesUtil.bin2HexStr(stopReasonByteArr);
String stopReasonMsg = YKCChargingStopReasonEnum.getMsgByCode(Integer.parseInt(stopReason, 16));
int i = Integer.parseInt(stopReason, 16);
String stopReasonMsg = YKCChargingStopReasonEnum.getMsgByCode(i);
// 物理卡号 不足 8 位补 0
startIndex += length;