zjh
5 天以前 92db9e7f8e1f79f5b61266382149843159907157
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java
@@ -497,11 +497,9 @@
                return AjaxResult.error("手机号错误,请检查手机号是否有效!");
        }
        LambdaQueryWrapper<TjCustomer> wq = new LambdaQueryWrapper<>();
        wq.eq(TjCustomer::getCusIdcard, cusIdcard);
        TjCustomer customer = tjCustomerService.getOne(wq);
        TjCustomer customer = tjCustomerService.getTjCustomerByCusIdCard(cusIdcard);
        if (customer != null) {
            return AjaxResult.error("该人员已存在");
            return AjaxResult.success(customer);
        }
        String substring = cusIdcard.substring(cusIdcard.length() - 6);
        substring = DigestUtils.md5DigestAsHex(substring.getBytes());