mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-04 22:18:02 +08:00
update 参数配置相关修改
This commit is contained in:
@@ -46,7 +46,7 @@ public class ParameterConfigurationHandler extends AbstractHandler{
|
|||||||
|
|
||||||
// 交易流水号
|
// 交易流水号
|
||||||
byte[] serialNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
byte[] serialNumByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||||
String orderCode = BytesUtil.bcd2Str(serialNumByteArr);
|
String transactionCode = BytesUtil.bcd2Str(serialNumByteArr);
|
||||||
|
|
||||||
// 桩编码
|
// 桩编码
|
||||||
startIndex += length;
|
startIndex += length;
|
||||||
@@ -114,7 +114,7 @@ public class ParameterConfigurationHandler extends AbstractHandler{
|
|||||||
log.info("参数配置, 起始SOC:{}", soc);
|
log.info("参数配置, 起始SOC:{}", soc);
|
||||||
|
|
||||||
// 查询该订单下信息,将起始soc传入
|
// 查询该订单下信息,将起始soc传入
|
||||||
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode);
|
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
|
||||||
if (Objects.nonNull(orderInfo)) {
|
if (Objects.nonNull(orderInfo)) {
|
||||||
OrderBasicInfo orderBasicInfo = OrderBasicInfo.builder()
|
OrderBasicInfo orderBasicInfo = OrderBasicInfo.builder()
|
||||||
.id(orderInfo.getId())
|
.id(orderInfo.getId())
|
||||||
|
|||||||
Reference in New Issue
Block a user