mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 10:49:52 +08:00
update 修改车牌号校验是否绑定
This commit is contained in:
@@ -539,10 +539,10 @@ public class PaymentTestController {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void createPaymentReverseRequestTest() {
|
public void createPaymentReverseRequestTest() {
|
||||||
String paymentId = "002212025091909381410814926502197886976";
|
String paymentId = "002212025091910192610814936868000780288";
|
||||||
BigDecimal refundAmount = new BigDecimal("0.02");
|
BigDecimal refundAmount = new BigDecimal("0.02");
|
||||||
String memberId = "65622699";
|
String memberId = "65622699";
|
||||||
String orderCode = "C63345490920";
|
String orderCode = "C48996543963";
|
||||||
|
|
||||||
// 延迟分账未确认调撤销调撤销接口退款
|
// 延迟分账未确认调撤销调撤销接口退款
|
||||||
PaymentReverseOperation operation = new PaymentReverseOperation();
|
PaymentReverseOperation operation = new PaymentReverseOperation();
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ package com.jsowell.pile.service.impl;
|
|||||||
import com.alibaba.fastjson2.JSON;
|
import com.alibaba.fastjson2.JSON;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.jsowell.common.constant.UserConstants;
|
import com.jsowell.common.constant.UserConstants;
|
||||||
|
import com.jsowell.common.enums.ykc.ReturnCodeEnum;
|
||||||
|
import com.jsowell.common.exception.BusinessException;
|
||||||
import com.jsowell.common.util.StringUtils;
|
import com.jsowell.common.util.StringUtils;
|
||||||
import com.jsowell.pile.domain.MemberPlateNumberRelation;
|
import com.jsowell.pile.domain.MemberPlateNumberRelation;
|
||||||
import com.jsowell.pile.mapper.MemberPlateNumberRelationMapper;
|
import com.jsowell.pile.mapper.MemberPlateNumberRelationMapper;
|
||||||
@@ -86,13 +88,13 @@ public class MemberPlateNumberRelationServiceImpl implements MemberPlateNumberRe
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 校验vin
|
// 校验vin
|
||||||
// String vinCode = memberPlateNumberRelation.getVinCode();
|
String vinCode = memberPlateNumberRelation.getVinCode();
|
||||||
// if (StringUtils.isNotBlank(vinCode)) {
|
if (StringUtils.isNotBlank(vinCode)) {
|
||||||
// // 判断当前vin是否被绑定
|
// 判断当前vin是否被绑定
|
||||||
// if (UserConstants.NOT_UNIQUE.equals(checkVinCodeUnique(vinCode))) {
|
if (UserConstants.NOT_UNIQUE.equals(checkVinCodeUnique(vinCode))) {
|
||||||
// throw new BusinessException(ReturnCodeEnum.CODE_THIS_VIN_HAS_BEEN_BINDING);
|
throw new BusinessException(ReturnCodeEnum.CODE_THIS_VIN_HAS_BEEN_BINDING);
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
return memberPlateNumberRelationMapper.updateMemberPlateNumberRelation(memberPlateNumberRelation);
|
return memberPlateNumberRelationMapper.updateMemberPlateNumberRelation(memberPlateNumberRelation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user