no message
This commit is contained in:
parent
2b8747b6f7
commit
269c023cfb
|
|
@ -5,6 +5,8 @@ import com.ghy.customer.mapper.CustomerAddressMapper;
|
||||||
import com.ghy.customer.service.CustomerAddressService;
|
import com.ghy.customer.service.CustomerAddressService;
|
||||||
import com.ghy.system.service.ISysAreaService;
|
import com.ghy.system.service.ISysAreaService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
|
@ -19,10 +21,13 @@ public class CustomerAddressServiceImpl implements CustomerAddressService {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private ISysAreaService iSysAreaService;
|
private ISysAreaService iSysAreaService;
|
||||||
|
private static final Logger logger = LoggerFactory.getLogger(CustomerAddressServiceImpl.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<CustomerAddress> getCustomerAddressList(CustomerAddress customerAddress) {
|
public List<CustomerAddress> getCustomerAddressList(CustomerAddress customerAddress) {
|
||||||
|
logger.info("查询地址的参数{}",customerAddress);
|
||||||
List<CustomerAddress> addressList = customerAddressMapper.getCustomerAddressList(customerAddress);
|
List<CustomerAddress> addressList = customerAddressMapper.getCustomerAddressList(customerAddress);
|
||||||
|
logger.info("查询后的地址的值{}",addressList);
|
||||||
if(customerAddress.getNeedNameFlag()){
|
if(customerAddress.getNeedNameFlag()){
|
||||||
return addressList;
|
return addressList;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue