public PagingEntity<FullLogonHistory> QueryPaging(FullLogonHistoryQueryForm form) { PagingEntity<FullLogonHistory> result = new PagingEntity<FullLogonHistory>(); result.Record = bll.Query(form); result.RecordCount = bll.QueryCount(form); return result; }
public int QueryCount(FullLogonHistoryQueryForm form) { ISqlMapper mapper = MapperHelper.GetMapper(); LogonHistoryDao dao = new LogonHistoryDao(mapper); return dao.QueryFullLogonHistoryCount(form); }
public List<FullLogonHistory> Query(FullLogonHistoryQueryForm form) { ISqlMapper mapper = MapperHelper.GetMapper(); LogonHistoryDao dao = new LogonHistoryDao(mapper); return dao.QueryFullLogonHistory(form); }