mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 11:19:52 +08:00
bugfix 修复0x01中不会修改桩状态为空闲的bug
This commit is contained in:
@@ -555,7 +555,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
|||||||
0x01 登陆认证
|
0x01 登陆认证
|
||||||
登陆成功,把充电桩和枪口的状态都更新为【在线】
|
登陆成功,把充电桩和枪口的状态都更新为【在线】
|
||||||
*/
|
*/
|
||||||
if (StringUtils.equals(frameType, String.valueOf(YKCFrameTypeCode.LOGIN_CODE.getCode()))) {
|
if (StringUtils.equals(frameType, BytesUtil.bcd2Str(YKCFrameTypeCode.LOGIN_CODE.getBytes()))) {
|
||||||
// 枪口状态设置为【空闲】
|
// 枪口状态设置为【空闲】
|
||||||
pileConnectorInfoService.updateConnectorStatusByPileSn(pileSn, PileConnectorDataBaseStatusEnum.FREE.getValue());
|
pileConnectorInfoService.updateConnectorStatusByPileSn(pileSn, PileConnectorDataBaseStatusEnum.FREE.getValue());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user