package com.buy507.mall.service.impl;

import com.buy507.mall.mapper.OmsCompanyAddressMapper;
import com.buy507.mall.model.OmsCompanyAddress;
import com.buy507.mall.model.OmsCompanyAddressExample;
import com.buy507.mall.service.OmsCompanyAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 收货地址管理Service实现类
 */
@Service
public class OmsCompanyAddressServiceImpl implements OmsCompanyAddressService {
    @Autowired
    private OmsCompanyAddressMapper companyAddressMapper;
    @Override
    public List<OmsCompanyAddress> list() {
        return companyAddressMapper.selectByExample(new OmsCompanyAddressExample());
    }
}
