package org.cs.mgr.user.dao.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import org.cs.core.dao.impl.BaseDao;
import org.cs.util.Pager;
import org.cs.mgr.user.model.MgmUserDept;
import org.cs.mgr.user.dao.IMgmUserDeptDao;

/**
 * 
 * @ClassName: MgmUserDeptDao
 * @Description:  
 * @author: sunny_shi
 * @date: 2018-06-09 13:28:57
 */
@Repository
public class MgmUserDeptDao extends BaseDao<MgmUserDept> implements IMgmUserDeptDao {
	private final Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Override
	public Pager queryMgmUserDepts(Pager page){
		String hql = "from MgmUserDept where isDelete = false";
		return findPageByHql(hql, page, null);
	}
}
