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