package cn.hmsoft.skill.data.dao.std;

import org.springframework.stereotype.Repository;
import cn.hmsoft.jdbc.core.PlatformDaoSupport;
import cn.hmsoft.jdbc.entity.Pager;
import cn.hmsoft.skill.data.model.std.StdLogin;

@Repository
public class StdLoginDao extends PlatformDaoSupport<StdLogin> {

	/***********************
	 * 分页查询
	 */
	public Pager pageLogin(Integer std_id, Integer start, Integer limit) {
		String sql = "select * from std_login where std_id=? order by login_time desc";
		return this.pageMapBySql(start, limit, sql, std_id);
	}
}
