package com.yonge.cooleshow.admin.service.impl;

import com.yonge.cooleshow.mbg.mapper.OmsCompanyAddressMapper;
import com.yonge.cooleshow.mbg.model.OmsCompanyAddress;
import com.yonge.cooleshow.mbg.model.OmsCompanyAddressExample;
import com.yonge.cooleshow.admin.service.OmsCompanyAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

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