update vin不再判断锁定状态

This commit is contained in:
Lemon
2024-02-19 09:00:57 +08:00
parent d5222812ed
commit 2c77853f45
3 changed files with 42 additions and 12 deletions

View File

@@ -190,10 +190,10 @@ public class ConfirmStartChargingRequestHandler extends AbstractHandler{
if (plateInfo == null) {
throw new BusinessException("", vinCode + "未查到绑定用户信息");
}
if (!StringUtils.equals("1", plateInfo.getVinStatus())) {
// 1- 正常使用
throw new BusinessException("", vinCode + "vin状态不正确");
}
// if (!StringUtils.equals("1", plateInfo.getVinStatus())) {
// // 1- 正常使用
// throw new BusinessException("", vinCode + "vin状态不正确");
// }
// vin码生成订单 vin启动充电
GenerateOrderDTO dto = new GenerateOrderDTO();
dto.setMemberPlateNumberRelation(plateInfo);