Authored by gemingdan

身份证判断

... ... @@ -1526,7 +1526,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
if (!checkIdCard(bo.getIdCardNo())) {
throw new ServiceException(ServiceError.UNION_IDCARD_ERROR);
}
if ((bo.getSource()==null||1 != bo.getSource())&&(idCardPass(bo.getIdCardNo(),bo.getUid()))) {
if ((bo.getSource()==null||1 != bo.getSource())&&(!idCardPass(bo.getIdCardNo(),bo.getUid()))) {
//不是ufo的请求,需要校验银行卡身份证是否有重复
throw new ServiceException(ServiceError.UNION_IDCARD_REPEAT_ERROR);
}
... ...