mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
vin启动充电 修改日志
This commit is contained in:
@@ -167,7 +167,7 @@ public class ConfirmStartChargingRequestHandler extends AbstractHandler{
|
||||
}
|
||||
if (!StringUtils.equals("1", plateInfo.getVinStatus())) {
|
||||
// 1- 正常使用
|
||||
throw new BusinessException("", "状态不正确");
|
||||
throw new BusinessException("", "vin状态不正确");
|
||||
}
|
||||
// vin码生成订单 vin启动充电
|
||||
GenerateOrderDTO dto = new GenerateOrderDTO();
|
||||
|
||||
@@ -613,8 +613,8 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
|
||||
// 如果是vin启动,将启动锁定状态改为正常
|
||||
if (StringUtils.equals(data.getTransactionIdentifier(), "05")) {
|
||||
MemberPlateNumberRelation plateInfo = memberPlateNumberRelationService.getMemberPlateInfoByVinCode(data.getVinCode());
|
||||
if (plateInfo != null && (StringUtils.equals(plateInfo.getVinStatus(), "1"))) {
|
||||
plateInfo.setVinStatus("0");
|
||||
if (plateInfo != null && (StringUtils.equals(plateInfo.getVinStatus(), "2"))) {
|
||||
plateInfo.setVinStatus("1");
|
||||
memberPlateNumberRelationService.updateMemberPlateNumberRelation(plateInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user