提交 e28aefc5 编写于 作者:  Peijun.zhao's avatar Peijun.zhao

check card 明文

上级 bb01dd2c
流水线 #36066 已取消 于阶段
...@@ -206,7 +206,7 @@ public class CircleAccountServiceImpl implements CircleAccountService { ...@@ -206,7 +206,7 @@ public class CircleAccountServiceImpl implements CircleAccountService {
String encryMobile = EncryptUtils.encryptContent(idCardMap.get(id).getDecryMobile(), EncryptConstants.ENCRYPT_TYPE_MOBILE); String encryMobile = EncryptUtils.encryptContent(idCardMap.get(id).getDecryMobile(), EncryptConstants.ENCRYPT_TYPE_MOBILE);
if(accountCard != null && !accountCard.getMobilePhone().equals(encryMobile)){ if(accountCard != null && !accountCard.getMobilePhone().equals(encryMobile)){
throw new PicaException(PicaResultCode.PARAM_IS_INVALID.code(), "身份证号已被使用:" + encryCard); throw new PicaException(PicaResultCode.PARAM_IS_INVALID.code(), "身份证号已被使用:" + idCardMap.get(id).getCard());
} }
Account doctor = accountMapper.selectById(id); Account doctor = accountMapper.selectById(id);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册