This commit is contained in:
2023-04-01 15:33:36 +08:00
parent c337b9f035
commit eaf35ce6e7
5 changed files with 21 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ public class ConfirmStartChargingRequestHandler extends AbstractHandler{
length = 8;
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
String physicsCard = BytesUtil.binary(cardNumByteArr, 16);
log.info("物理卡号{}", physicsCard);
log.info("桩号:{}申请充电物理卡号:{}", pileSn, physicsCard);
// 输入密码 对用户输入的密码进行16 位MD5 加密,采用小写上传
startIndex += length;

View File

@@ -442,6 +442,7 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
byte[] cardNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
// byte[] logicCardNum = BytesUtil.checkLengthAndBehindAppendZero(cardNumByteArr, 16);
String logicCard = BytesUtil.binary(cardNumByteArr, 16);
log.info("桩号:{}发送交易记录物理卡号:{}", pileSn, logicCard);
log.info("[===交易记录===]交易流水号:{}, 桩编号:{}, 枪号:{}, 开始时间:{}, 结束时间:{}, 尖单价:{}, 尖电量:{}, 计损尖电量:{}, 尖金额:{}, " +
"峰单价:{}, 峰电量:{}, 计损峰电量:{}, 峰金额:{}, 平单价:{}, 平电量:{}, 计损平电量:{}, 平金额:{}, " +