update 参数配置相关修改

This commit is contained in:
2023-03-13 16:29:25 +08:00
parent b32f1ebfeb
commit 14c95a68c5

View File

@@ -46,7 +46,7 @@ public class ParameterConfigurationHandler extends AbstractHandler{
// 交易流水号
byte[] serialNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
String orderCode = BytesUtil.bcd2Str(serialNumByteArr);
String transactionCode = BytesUtil.bcd2Str(serialNumByteArr);
// 桩编码
startIndex += length;
@@ -114,7 +114,7 @@ public class ParameterConfigurationHandler extends AbstractHandler{
log.info("参数配置, 起始SOC:{}", soc);
// 查询该订单下信息将起始soc传入
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode);
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
if (Objects.nonNull(orderInfo)) {
OrderBasicInfo orderBasicInfo = OrderBasicInfo.builder()
.id(orderInfo.getId())