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;
stopWatch.start("登录逻辑");
// 通过桩编码SN查询数据库如果有数据则登录成功否则登录失败
PileBasicInfo pileBasicInfo = null;
try {
pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn);
} catch (Exception e) {
log.error("selectPileBasicInfoBySN发生异常", e);
}
PileBasicInfo pileBasicInfo = new PileBasicInfo();
// try {
// pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn);
// } catch (Exception e) {
// log.error("selectPileBasicInfoBySN发生异常", e);
// }
if (pileBasicInfo != null) {
flag = Constants.zeroByteArray;