no message

This commit is contained in:
cb 2025-04-22 14:43:53 +08:00
parent 2b8747b6f7
commit 269c023cfb
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,8 @@ import com.ghy.customer.mapper.CustomerAddressMapper;
import com.ghy.customer.service.CustomerAddressService;
import com.ghy.system.service.ISysAreaService;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@ -19,10 +21,13 @@ public class CustomerAddressServiceImpl implements CustomerAddressService {
@Resource
private ISysAreaService iSysAreaService;
private static final Logger logger = LoggerFactory.getLogger(CustomerAddressServiceImpl.class);
@Override
public List<CustomerAddress> getCustomerAddressList(CustomerAddress customerAddress) {
logger.info("查询地址的参数{}",customerAddress);
List<CustomerAddress> addressList = customerAddressMapper.getCustomerAddressList(customerAddress);
logger.info("查询后的地址的值{}",addressList);
if(customerAddress.getNeedNameFlag()){
return addressList;
}