package org.cs.mgr.setting.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.setting.model.SysAdvPosition;
import org.cs.mgr.setting.dao.ISysAdvPositionDao;

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