src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java
@@ -175,6 +175,11 @@ public List<Map<String, Object>> customerList(Customer customer) { LambdaQueryWrapper<Customer> queryWrapper = Wrappers.lambdaQuery(); queryWrapper.select(Customer::getId, Customer::getCustomerName, Customer::getTaxpayerIdentificationNumber); if(customer != null){ if(customer.getCustomerType() != null){ queryWrapper.eq(Customer::getCustomerType, customer.getCustomerType()); } } // 获取原始查询结果 List<Map<String, Object>> result = customerMapper.selectMaps(queryWrapper);