| | |
| | | private final SalesLedgerMapper salesLedgerMapper; |
| | | |
| | | private final CustomerPrivateMapper customerPrivateMapper; |
| | | private final CustomerPrivateService customerPrivateService; |
| | | |
| | | |
| | | @Override |
| | |
| | | @Override |
| | | public R importData(MultipartFile file) { |
| | | try { |
| | | List<CustomerPrivate> existingList = customerPrivateService.list(); |
| | | List<CustomerPrivate> existingList = customerPrivateMapper.selectList(null); |
| | | java.util.Set<String> existingCustomerNames = existingList.stream() |
| | | .map(CustomerPrivate::getCustomerName) |
| | | .collect(Collectors.toSet()); |