bug修复

This commit is contained in:
guo 2024-01-09 15:52:26 +08:00
parent dbf56d5f25
commit 4c3c8d2179
6 changed files with 12 additions and 16 deletions

View File

@ -1,4 +1,4 @@
package com.zhgd.netty.constant; package com.zhgd.netty.tcp.constant;
/** /**
* 高支模常量 * 高支模常量

View File

@ -1,7 +1,7 @@
package com.zhgd.netty.handler; package com.zhgd.netty.tcp.handler;
import com.zhgd.netty.constant.HighFormworkSupport; import com.zhgd.netty.tcp.constant.HighFormworkSupport;
import com.zhgd.netty.service.HighFormworkSupportService; import com.zhgd.netty.tcp.service.HighFormworkSupportService;
import com.zhgd.xmgl.modules.poisonous.service.IPoisonousGasDevCurrentDataService; import com.zhgd.xmgl.modules.poisonous.service.IPoisonousGasDevCurrentDataService;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled; import io.netty.buffer.Unpooled;

View File

@ -1,4 +1,4 @@
package com.zhgd.netty.listener; package com.zhgd.netty.tcp.listener;
import io.netty.util.concurrent.Future; import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener; import io.netty.util.concurrent.GenericFutureListener;

View File

@ -1,4 +1,4 @@
package com.zhgd.netty.listener; package com.zhgd.netty.tcp.listener;
import io.netty.util.concurrent.Future; import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener; import io.netty.util.concurrent.GenericFutureListener;

View File

@ -1,8 +1,8 @@
package com.zhgd.netty.server; package com.zhgd.netty.tcp.server;
import com.zhgd.netty.handler.TcpNettyHandler; import com.zhgd.netty.tcp.handler.TcpNettyHandler;
import com.zhgd.netty.listener.BindListener; import com.zhgd.netty.tcp.listener.BindListener;
import com.zhgd.netty.listener.CloseListener; import com.zhgd.netty.tcp.listener.CloseListener;
import io.netty.bootstrap.ServerBootstrap; import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelInitializer;
@ -11,16 +11,12 @@ import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct; import javax.annotation.PostConstruct;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
/** /**
* @author chenws * @author chenws

View File

@ -1,9 +1,9 @@
package com.zhgd.netty.service; package com.zhgd.netty.tcp.service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zhgd.netty.tcp.constant.HighFormworkSupport;
import com.zhgd.xmgl.modules.highformwork.entity.*; import com.zhgd.xmgl.modules.highformwork.entity.*;
import com.zhgd.xmgl.modules.highformwork.mapper.*; import com.zhgd.xmgl.modules.highformwork.mapper.*;
import com.zhgd.netty.constant.HighFormworkSupport;
import com.zhgd.xmgl.modules.highformwork.service.IHighFormworkMeasureCurrentDataService; import com.zhgd.xmgl.modules.highformwork.service.IHighFormworkMeasureCurrentDataService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;