mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 参数配置相关修改
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user