update 恢复登录报文解析

This commit is contained in:
Lemon
2025-06-17 10:31:27 +08:00
parent 97fb52cd25
commit 3c7e2c0cd3

View File

@@ -198,12 +198,12 @@ public class LoginRequestHandler extends AbstractYkcHandler {
byte[] flag = Constants.oneByteArray; byte[] flag = Constants.oneByteArray;
stopWatch.start("登录逻辑"); stopWatch.start("登录逻辑");
// 通过桩编码SN查询数据库如果有数据则登录成功否则登录失败 // 通过桩编码SN查询数据库如果有数据则登录成功否则登录失败
PileBasicInfo pileBasicInfo = new PileBasicInfo(); PileBasicInfo pileBasicInfo = null;
// try { try {
// pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn); pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn);
// } catch (Exception e) { } catch (Exception e) {
// log.error("selectPileBasicInfoBySN发生异常", e); log.error("selectPileBasicInfoBySN发生异常", e);
// } }
if (pileBasicInfo != null) { if (pileBasicInfo != null) {
flag = Constants.zeroByteArray; flag = Constants.zeroByteArray;