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.SysAdv;
import org.cs.mgr.setting.dao.ISysAdvDao;

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