PickUpCityManagerImpl.java 1.19 KB
package com.diligrp.website.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.diligrp.website.dao.PickUpCityDao;
import com.diligrp.website.domain.PickUpCity;
import com.diligrp.website.manager.PickUpCityManager;


/**
 * <B>Description</B> TODO <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014年8月25日 下午4:09:40
 * @author liujie
 */
@Component
public class PickUpCityManagerImpl implements PickUpCityManager {
    
    @Resource 
    private PickUpCityDao pickUpCityDao;
    /* (non-Javadoc)
     * @see com.diligrp.website.manager.PickUpCityManager#getAllCity()
     */
    @Override
    public List<PickUpCity> getAllCity() {
        return pickUpCityDao.getAllCity();
    }
	@Override
	public PickUpCity getPickIdByCityId(Long cityId) {
		return pickUpCityDao.getPickIdByCityId(cityId);
	}

    @Override
    public List<PickUpCity> getPickUpIdListByCityId(Long cityId) {
        return pickUpCityDao.getPickUpIdListByCityId(cityId);
    }
}