mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-03 13:38:02 +08:00
update 调整日志打印
This commit is contained in:
@@ -190,11 +190,11 @@ 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");
|
||||
}
|
||||
log.info("同步获取响应数据-发送消息, pileSn:{}, channelId:{}, 帧类型:{}", pileSn, ctx.channel().id(), frameTypeName);
|
||||
if(msg == null) {
|
||||
throw new NullPointerException("发送消息msg为空");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user