mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update
This commit is contained in:
@@ -142,12 +142,12 @@ public class CarVinInfoServiceImpl implements ICarVinInfoService {
|
||||
*/
|
||||
@Override
|
||||
public int bindAuthCard(CarVinDTO dto) {
|
||||
String phoneNumber = dto.getPhoneNumber();
|
||||
// 判断此用户是否已注册小程序账号
|
||||
MemberBasicInfo memberBasicInfo = memberBasicInfoService.selectInfoByMobileNumber(phoneNumber);
|
||||
if (memberBasicInfo == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_USER_IS_NOT_REGISTER);
|
||||
}
|
||||
// String phoneNumber = dto.getPhoneNumber();
|
||||
// // 判断此用户是否已注册小程序账号
|
||||
// MemberBasicInfo memberBasicInfo = memberBasicInfoService.selectInfoByMobileNumber(phoneNumber);
|
||||
// if (memberBasicInfo == null) {
|
||||
// throw new BusinessException(ReturnCodeEnum.CODE_USER_IS_NOT_REGISTER);
|
||||
// }
|
||||
// 判断此vin号码是否已被绑定
|
||||
CarVinInfo carVinInfo = carVinInfoMapper.selectVinInfoByVin(dto.getVinCode());
|
||||
if (carVinInfo == null) {
|
||||
|
||||
Reference in New Issue
Block a user