mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-04 01:50:17 +08:00
update 登录报文解析
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user