|
@@ -664,8 +664,12 @@ public class GljtSqSqServiceImpl implements IGljtSqSqService
|
|
.eq(GljtSqLr::getSqrZjhm, SecurityUtils.sm4encrypt_ECB(EncryptionUtils.key, gljtUserLr.getSqrZjhm()))
|
|
.eq(GljtSqLr::getSqrZjhm, SecurityUtils.sm4encrypt_ECB(EncryptionUtils.key, gljtUserLr.getSqrZjhm()))
|
|
.ne(GljtSqLr::getStatus, GljtLrStatus.ZZ.getCode()));
|
|
.ne(GljtSqLr::getStatus, GljtLrStatus.ZZ.getCode()));
|
|
// 如果存在图片与身份证的话进行百度人脸对比
|
|
// 如果存在图片与身份证的话进行百度人脸对比
|
|
- checkBaiduDb(gljtUserLr);
|
|
|
|
|
|
+ // checkBaiduDb(gljtUserLr);
|
|
if (ObjectUtils.isNotEmpty(lr)) {
|
|
if (ObjectUtils.isNotEmpty(lr)) {
|
|
|
|
+ EncryptionUtils.decryptForPlaintext(lr);
|
|
|
|
+ if (!StringUtils.equals(lr.getSqrXm(), gljtUserLr.getSqrXm())) {
|
|
|
|
+ throw new ServiceException("姓名与已绑定老人不符,请核对后再次尝试");
|
|
|
|
+ }
|
|
// 存在该即存非终止老人
|
|
// 存在该即存非终止老人
|
|
// 先对该老人进行更新
|
|
// 先对该老人进行更新
|
|
GljtSqLr up = new GljtSqLr();
|
|
GljtSqLr up = new GljtSqLr();
|