package com.wechat.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wechat.dao.MdePositionDao;
import com.wechat.model.dbEntity.MdePosition;

@Service
public class MdePositionService {

	@Resource
	private MdePositionDao mdePositionDao;

	/**
	 *  查询所有部门
	 * @return
	 */
	public List<MdePosition> getAllMdePosition() {
		return mdePositionDao.getAllPositions();
	}

}