From b04fa01e036e707d9f734480592e13a515bcb77d Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Thu, 7 Dec 2023 16:23:47 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9F=A5=E8=AF=A2=E5=85=85=E7=94=B5?= =?UTF-8?q?=E6=A1=A9=E7=9A=84=E6=96=B9=E6=B3=95=E6=8D=A2=E6=88=90=E6=95=88?= =?UTF-8?q?=E7=8E=87=E6=9B=B4=E9=AB=98=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jsowell/netty/handler/LoginRequestHandler.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jsowell-netty/src/main/java/com/jsowell/netty/handler/LoginRequestHandler.java b/jsowell-netty/src/main/java/com/jsowell/netty/handler/LoginRequestHandler.java index a3d2c41eb..b67c8bdeb 100644 --- a/jsowell-netty/src/main/java/com/jsowell/netty/handler/LoginRequestHandler.java +++ b/jsowell-netty/src/main/java/com/jsowell/netty/handler/LoginRequestHandler.java @@ -12,12 +12,12 @@ import com.jsowell.common.util.BytesUtil; import com.jsowell.common.util.StringUtils; import com.jsowell.common.util.YKCUtils; import com.jsowell.netty.factory.YKCOperateFactory; +import com.jsowell.pile.domain.PileBasicInfo; import com.jsowell.pile.domain.ykcCommond.IssueQRCodeCommand; import com.jsowell.pile.domain.ykcCommond.ProofreadTimeCommand; import com.jsowell.pile.service.IPileBasicInfoService; import com.jsowell.pile.service.IPileMsgRecordService; import com.jsowell.pile.service.YKCPushCommandService; -import com.jsowell.pile.vo.base.PileInfoVO; import io.netty.channel.Channel; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; @@ -185,14 +185,14 @@ public class LoginRequestHandler extends AbstractHandler { byte[] flag = Constants.oneByteArray; // 通过桩编码SN查询数据库,如果有数据,则登录成功,否则登录失败 - PileInfoVO pileInfoVO = null; + PileBasicInfo pileBasicInfo = null; try { - pileInfoVO = pileBasicInfoService.selectPileInfoBySn(pileSn); + pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn); } catch (Exception e) { - log.error("selectPileInfoBySn发生异常", e); + log.error("selectPileBasicInfoBySN发生异常", e); } - if (pileInfoVO != null) { + if (pileBasicInfo != null) { flag = Constants.zeroByteArray; CompletableFuture.runAsync(() -> {