@Test public void findLogPageList() throws Exception { List<DataSearchLogView> list = dataSearchLogDao.findLogPageList(paging); System.out.println("findLogPageList :-------> " + list); Assert.assertTrue(list.size() > 0); }
public List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select t1.id, t1.ip, t1.user_no, t1.request_type, t1.request, t1.success, t1.result, t1.inserttime, t2.user_real_name " + "from data_search_log t1 " + "left join login_users t2 on t1.user_no = t2.user_no " + appenCondition(paging); return this.queryBySql(sql, DataSearchLogView.class); }
DataSearchLogDao extends BaseDao { public List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select t1.id, t1.ip, t1.user_no, t1.request_type, t1.request, t1.success, t1.result, t1.inserttime, t2.user_real_name " + "from data_search_log t1 " + "left join login_users t2 on t1.user_no = t2.user_no " + appenCondition(paging); return this.queryBySql(sql, DataSearchLogView.class); } }
DataSearchLogDao extends BaseDao { public List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select t1.id, t1.ip, t1.user_no, t1.request_type, t1.request, t1.success, t1.result, t1.inserttime, t2.user_real_name " + "from data_search_log t1 " + "left join login_users t2 on t1.user_no = t2.user_no " + appenCondition(paging); return this.queryBySql(sql, DataSearchLogView.class); }  }
DataSearchLogDao extends BaseDao { public List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select t1.id, t1.ip, t1.user_no, t1.request_type, t1.request, t1.success, t1.result, t1.inserttime, t2.user_real_name " + "from data_search_log t1 " + "left join login_users t2 on t1.user_no = t2.user_no " + appenCondition(paging); return this.queryBySql(sql, DataSearchLogView.class); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit); }
DataSearchLogDao extends BaseDao { public List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging) throws SQLException { String sql = "select t1.id, t1.ip, t1.user_no, t1.request_type, t1.request, t1.success, t1.result, t1.inserttime, t2.user_real_name " + "from data_search_log t1 " + "left join login_users t2 on t1.user_no = t2.user_no " + appenCondition(paging); return this.queryBySql(sql, DataSearchLogView.class); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit);  }