| | |
| | | wq.eq(TjCustomer::getCusPhone, tjCustomer.getCusPhone()); |
| | | wq.eq(TjCustomer::getCusName, tjCustomer.getCusName()); |
| | | final TjCustomer one = customerService.getOne(wq); |
| | | one.setConnect(""); |
| | | one.setConnect(null); |
| | | final boolean b = customerService.updateById(one); |
| | | if (b) { |
| | | return AjaxResult.success(); |
| | |
| | | // } |
| | | // } |
| | | |
| | | LambdaQueryWrapper<TjCustomer> wq = new LambdaQueryWrapper<>(); |
| | | wq.eq(TjCustomer::getCusIdcard, cusIdcard); |
| | | TjCustomer customer = customerService.getOne(wq); |
| | | |
| | | TjCustomer customer = customerService.getTjCustomerByCusIdCard(cusIdcard); |
| | | |
| | | String key = sysConfigService.selectConfigByKey("sfkqdyhis"); |
| | | |
| | | if (customer != null) { |
| | | customer.setConnect(tjCustomer.getConnect()); |
| | | customer.setCusPhone(tjCustomer.getCusPhone()); |
| | | customer.setCusMarryStatus(tjCustomer.getCusMarryStatus()); |
| | | customerService.updateById(customer); |
| | | return AjaxResult.success(customer); |
| | | } |
| | |
| | | LambdaQueryWrapper<TjCustomer> qw = new LambdaQueryWrapper<>(); |
| | | qw.eq(TjCustomer::getCusPhone, phone); |
| | | List<TjCustomer> tjCustomer1 = customerService.list(qw); |
| | | if (tjCustomer1 != null && tjCustomer1.size() > 0) { |
| | | if (tjCustomer1 != null && !tjCustomer1.isEmpty()) { |
| | | List<String> num = new ArrayList<>(); |
| | | for (TjCustomer tjCustomer : tjCustomer1) { |
| | | num.add(tjCustomer.getCusIdcard()); |