| | |
| | | TjCustomer customer = customerService.getById(tjSampling.getCusId()); |
| | | if(null !=customer){ |
| | | TjOrder order = orderService.getOrderByTjNum(tjSampling.getTjNum()); |
| | | customer.setCompName(order.getFirmName()); |
| | | customer.setCusName(customer.getCusName()); |
| | | customer.setCusPhone(MatchUtils.hidePhoneNum(customer.getCusPhone())); |
| | | customer.setCusIdcard(MatchUtils.hideIdCardNum(customer.getCusIdcard())); |
| | | customer.setTjNumber(tjSampling.getTjNum()); |
| | | customer.setApplicationTime(tjSampling.getApplicationTime()); |
| | | tjCustomers.add(customer); |
| | | if(null !=order){ |
| | | customer.setCompName(order.getFirmName()); |
| | | customer.setCusName(customer.getCusName()); |
| | | customer.setCusPhone(MatchUtils.hidePhoneNum(customer.getCusPhone())); |
| | | customer.setCusIdcard(MatchUtils.hideIdCardNum(customer.getCusIdcard())); |
| | | customer.setTjNumber(tjSampling.getTjNum()); |
| | | customer.setApplicationTime(tjSampling.getApplicationTime()); |
| | | tjCustomers.add(customer); |
| | | } |
| | | } |
| | | } |
| | | HashMap<String, Object> hashMap = new HashMap<>(); |