update 登录报文解析

This commit is contained in:
Lemon
2025-06-17 08:47:52 +08:00
parent d3cdfe06ad
commit ec61e0123a

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 = null; PileBasicInfo pileBasicInfo = new PileBasicInfo();
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;