ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPExgMsgTakeEwayBillAck.java
@@ -54,6 +54,7 @@ * 解析报文 */ public UPExgMsgTakeEwayBillAck decode(UPExgMsg exgMsg) { try { byte[] data = exgMsg.getData(); ByteBuf byteBuf = Unpooled.wrappedBuffer(data); this.vehicleNo = exgMsg.getVehicleNo(); @@ -62,6 +63,9 @@ this.dataLength = exgMsg.getDataLength(); this.ewayBillLength = byteBuf.readInt(); this.ewayBillInfo = Jtt809Util.readGBKString(byteBuf, this.ewayBillLength); }catch (Exception e){ e.printStackTrace(); } return this; } }