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; }