mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 用户绑定VIN时进行trim处理
This commit is contained in:
@@ -610,7 +610,7 @@ public class MemberService {
|
||||
if (UserConstants.NOT_UNIQUE.equals(memberPlateNumberRelationService.checkVinCodeUnique(dto.getVinCode()))) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_THIS_VIN_HAS_BEEN_BINDING);
|
||||
}
|
||||
relation.setVinCode(dto.getVinCode().toUpperCase(Locale.ROOT));
|
||||
relation.setVinCode(dto.getVinCode().toUpperCase(Locale.ROOT).trim());
|
||||
relation.setVinStatus(Constants.ONE); // 1-正常使用
|
||||
}
|
||||
memberPlateNumberRelationService.insertMemberPlateNumberRelation(relation);
|
||||
|
||||
Reference in New Issue
Block a user