mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-01 20:48:04 +08:00
update 打印日志
This commit is contained in:
@@ -190,6 +190,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
|
||||
// 通过桩编号获取channel
|
||||
ChannelHandlerContext ctx = PileChannelEntity.getChannelByPileSn(pileSn);
|
||||
String frameTypeName = ((YKCFrameTypeCode) frameTypeCode).getValue(); // 帧类型名称
|
||||
log.info("同步获取响应数据-发送消息, pileSn:{}, channelId:{}, 帧类型:{}", pileSn, ctx.channel().id(), frameTypeName);
|
||||
if (Objects.isNull(ctx)) {
|
||||
log.error("push命令[{}]失败, 桩号:{}无法获取到长连接, 请检查充电桩连接状态!", frameTypeName, pileSn);
|
||||
throw new NullPointerException("channel");
|
||||
|
||||
Reference in New Issue
Block a user