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.SysLog;
import org.cs.mgr.user.dao.ISysLogDao;

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