From de51daee7d847e2727f0ac2a47fa2715de855ef7 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Thu, 9 Mar 2023 16:12:39 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=85=85=E7=94=B5=E6=A1=A9=E9=80=9A?= =?UTF-8?q?=E4=BF=A1=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0=E5=8E=9F=E5=A7=8B?= =?UTF-8?q?=E6=8A=A5=E6=96=87=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/PileMsgRecordServiceImpl.java | 20 +------------------ .../pile/vo/web/PileCommunicationLogVO.java | 5 +++++ jsowell-ui/src/views/pile/basic/detail.vue | 6 ++++++ 3 files changed, 12 insertions(+), 19 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileMsgRecordServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileMsgRecordServiceImpl.java index e27b692e2..2ea1ff110 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileMsgRecordServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileMsgRecordServiceImpl.java @@ -72,25 +72,7 @@ public class PileMsgRecordServiceImpl implements IPileMsgRecordService { } else { vo.setDescription(pileMsgRecord.getJsonMsg()); } - // if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.LOGIN_CODE.getBytes()), frameType)) { - // // 登录 - // vo.setDescription("充电桩登录认证"); - // } else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_RESTART_CODE.getBytes()), frameType)) { - // // 远程重启 - // vo.setDescription("远程重启"); - // } else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_CONTROL_START_CODE.getBytes()), frameType)) { - // // 远程启动充电 - // vo.setDescription("运营平台远程控制启机"); - // }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_STOP_CHARGING_CODE.getBytes()), frameType)) { - // // 远程停机 - // vo.setDescription("运营平台远程停机"); - // }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.TRANSACTION_RECORDS_CODE.getBytes()), frameType)) { - // // 交易记录 - // vo.setDescription("交易结算"); - // }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.PILE_LOG_OUT.getBytes()), frameType)) { - // // 退出 - // vo.setDescription("充电桩退出"); - // } + vo.setOriginalMsg(pileMsgRecord.getOriginalMsg()); vo.setPileSn(pileMsgRecord.getPileSn()); vo.setCreateTime(pileMsgRecord.getCreateTime()); vo.setFrameType(frameType); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileCommunicationLogVO.java b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileCommunicationLogVO.java index 86b54ef0d..88bb01115 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileCommunicationLogVO.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileCommunicationLogVO.java @@ -36,4 +36,9 @@ public class PileCommunicationLogVO { */ private String description; + /** + * 原始报文 + */ + private String originalMsg; + } diff --git a/jsowell-ui/src/views/pile/basic/detail.vue b/jsowell-ui/src/views/pile/basic/detail.vue index f9732bc04..a37a4ad3a 100644 --- a/jsowell-ui/src/views/pile/basic/detail.vue +++ b/jsowell-ui/src/views/pile/basic/detail.vue @@ -215,6 +215,12 @@ width="200" > + +