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

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