Authored by mingdan.ge

身份证

... ... @@ -3054,6 +3054,14 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
serviceException.setParams(minimumAmount.toString());
throw serviceException;
}
if (preamount.compareTo(new BigDecimal("500")) == 1) {
//超过500元需判断是否上传了身份证
UnionShareUserIdentityCard idcard= unionShareUserIdentityCardMapper.selectActiveByUid(uid);
if (idcard == null) {
settlementLog.info("canSettlement end,idcard unbound,uid is {},preamount is {}",uid,preamount);
throw new ServiceException(ServiceError.UNION_IDENTITYCARD_UNBOUND_ERROR);
}
}
JSONObject result = new JSONObject();
result.put("bankcard", bankCardList.get(0));
result.put("preamount", preamount);
... ...
... ... @@ -98,6 +98,7 @@ datasources:
- com.yoho.unions.dal.UnionShareActivitySknMapper
- com.yoho.unions.dal.UnionShareActivityUidMapper
- com.yoho.unions.dal.UnionCallbackOrderMapper
- com.yoho.unions.dal.UnionShareUserIdentityCardMapper
... ...
... ... @@ -90,6 +90,7 @@ datasources:
- com.yoho.unions.dal.UnionShareActivitySknMapper
- com.yoho.unions.dal.UnionShareActivityUidMapper
- com.yoho.unions.dal.UnionCallbackOrderMapper
- com.yoho.unions.dal.UnionShareUserIdentityCardMapper
bigdata_yh_unions:
servers:
... ...