Commit 6f9a1b1d authored by hanfeng's avatar hanfeng

修改实名

parent 5e13b88e
......@@ -124,7 +124,7 @@ public class CertificationService {
exa.createCriteria().andEqualTo("idNumber", number);
List<IdInformation> idInformatics = idInformationMapper.selectByExample(exa);
if (CollectionUtils.isNotEmpty(idInformatics) && idInformatics.size() >getCofig() ) {
if (CollectionUtils.isNotEmpty(idInformatics) && idInformatics.size() >(getCofig()-1)) {
log.error("该身份证已超过最大认证次数");
return ObjectRestResponse.createFailedResult(ResultCode.FAILED_CODE, "该身份证已超过最大认证次数");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment