From 66cc286b34b53db14fe8c4be2adff14438362eb7 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期五, 30 五月 2025 11:00:59 +0800 Subject: [PATCH] 车辆详情中添加企业编号字段 --- ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java index 8abf7ee..26db8a5 100644 --- a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java +++ b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java @@ -1,7 +1,5 @@ package com.ruoyi.dataInterchange.model; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.ruoyi.dataInterchange.util.jtt809.common.Jtt809Util; import io.netty.buffer.ByteBuf; import lombok.Data; @@ -23,7 +21,11 @@ * 解析报文 */ public UPDisconnectInform decode(ByteBuf byteBuf) { - this.errorCode = byteBuf.readByte(); + try { + this.errorCode = byteBuf.readByte(); + }catch (Exception e){ + e.printStackTrace(); + } return this; } } -- Gitblit v1.7.1