@Test public void getTotalCount() throws Exception { Long count = dataSearchLogDao.getTotalCount(paging); System.out.println("getTotalCount :-------> " + count); Assert.assertTrue(count > 0); }
public Long getTotalCount(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select count(1) from data_search_log t1 left join login_users t2 on t1.user_no = t2.user_no" + appenWhere(paging); return this.getCount(sql); }
DataSearchLogDao extends BaseDao { public Long getTotalCount(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select count(1) from data_search_log t1 left join login_users t2 on t1.user_no = t2.user_no" + appenWhere(paging); return this.getCount(sql); } }
DataSearchLogDao extends BaseDao { public Long getTotalCount(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select count(1) from data_search_log t1 left join login_users t2 on t1.user_no = t2.user_no" + appenWhere(paging); return this.getCount(sql); }  }
DataSearchLogDao extends BaseDao { public Long getTotalCount(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select count(1) from data_search_log t1 left join login_users t2 on t1.user_no = t2.user_no" + appenWhere(paging); return this.getCount(sql); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit); }
DataSearchLogDao extends BaseDao { public Long getTotalCount(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select count(1) from data_search_log t1 left join login_users t2 on t1.user_no = t2.user_no" + appenWhere(paging); return this.getCount(sql); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit);  }