update 打印日志

This commit is contained in:
2024-03-19 16:29:20 +08:00
parent 6a6ed9f311
commit abe8f7b272

View File

@@ -110,8 +110,6 @@ public class ParameterConfigurationHandler extends AbstractHandler{
startIndex += length;
byte[] pileMinOutputCurrentByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
log.info("参数配置, 起始SOC:{}", soc);
// 查询该订单下信息将起始soc传入
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
if (Objects.nonNull(orderInfo)) {
@@ -119,8 +117,8 @@ public class ParameterConfigurationHandler extends AbstractHandler{
.id(orderInfo.getId())
.startSoc(soc)
.build();
orderBasicInfoService.updateOrderBasicInfo(orderBasicInfo);
log.info("更新订单起始SOC, orderCode:{}, transactionCode:{}, startSoc:{}", orderInfo.getOrderCode(), transactionCode, soc);
}
return null;