From 269c023cfb7f8bc70f64ee0400b4a51c7cd6e8d3 Mon Sep 17 00:00:00 2001 From: cb <275647614@qq.com> Date: Tue, 22 Apr 2025 14:43:53 +0800 Subject: [PATCH] no message --- .../customer/service/impl/CustomerAddressServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerAddressServiceImpl.java b/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerAddressServiceImpl.java index 5b10cc25..eb7d6a22 100644 --- a/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerAddressServiceImpl.java +++ b/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerAddressServiceImpl.java @@ -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 getCustomerAddressList(CustomerAddress customerAddress) { + logger.info("查询地址的参数{}",customerAddress); List addressList = customerAddressMapper.getCustomerAddressList(customerAddress); + logger.info("查询后的地址的值{}",addressList); if(customerAddress.getNeedNameFlag()){ return addressList; }