@Test public void getTableEntityTotalCount() throws Exception { Long count = tableEntityDao.getTableEntityTotalCount(paging); System.out.println("getTableEntityTotalCount :-------> " + count); Assert.assertTrue(count > 0); }
public Long getTableEntityTotalCount(Paging<TaskTable> paging) throws SQLException { String sql = " select count(1) from task_table t1 " + " left join databaseset t2 on t1.dbset_id = t2.id " + " left join login_users t3 on t1.update_user_no = t3.user_no " + appenWhere(paging); return this.getCount(sql); }
TableEntityDao extends BaseDao { public Long getTableEntityTotalCount(Paging<TaskTable> paging) throws SQLException { String sql = " select count(1) from task_table t1 " + " left join databaseset t2 on t1.dbset_id = t2.id " + " left join login_users t3 on t1.update_user_no = t3.user_no " + appenWhere(paging); return this.getCount(sql); } }
TableEntityDao extends BaseDao { public Long getTableEntityTotalCount(Paging<TaskTable> paging) throws SQLException { String sql = " select count(1) from task_table t1 " + " left join databaseset t2 on t1.dbset_id = t2.id " + " left join login_users t3 on t1.update_user_no = t3.user_no " + appenWhere(paging); return this.getCount(sql); }  }
TableEntityDao extends BaseDao { public Long getTableEntityTotalCount(Paging<TaskTable> paging) throws SQLException { String sql = " select count(1) from task_table t1 " + " left join databaseset t2 on t1.dbset_id = t2.id " + " left join login_users t3 on t1.update_user_no = t3.user_no " + appenWhere(paging); return this.getCount(sql); }  Long insertTask(TaskTable task); int[] insertTaskTablelist(List<TaskTable> list); int updateTask(TaskTable taskTable); int deleteTask(TaskTable taskTable); int deleteByProjectId(int id); TaskTable getTasksByTaskId(Long id); List<TaskTable> getTaskTableByCustomTableNames(Long project_id, List<String> names); List<TaskTable> getTaskTablesByTableNames(Long project_id, List<String> names); List<TaskTableView> getTasksByProjectId(Long projectId); Long getTableEntityTotalCount(Paging<TaskTable> paging); List<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging); List<TaskTableView> findTableEntitysByDbId(Long paging); }
TableEntityDao extends BaseDao { public Long getTableEntityTotalCount(Paging<TaskTable> paging) throws SQLException { String sql = " select count(1) from task_table t1 " + " left join databaseset t2 on t1.dbset_id = t2.id " + " left join login_users t3 on t1.update_user_no = t3.user_no " + appenWhere(paging); return this.getCount(sql); }  Long insertTask(TaskTable task); int[] insertTaskTablelist(List<TaskTable> list); int updateTask(TaskTable taskTable); int deleteTask(TaskTable taskTable); int deleteByProjectId(int id); TaskTable getTasksByTaskId(Long id); List<TaskTable> getTaskTableByCustomTableNames(Long project_id, List<String> names); List<TaskTable> getTaskTablesByTableNames(Long project_id, List<String> names); List<TaskTableView> getTasksByProjectId(Long projectId); Long getTableEntityTotalCount(Paging<TaskTable> paging); List<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging); List<TaskTableView> findTableEntitysByDbId(Long paging);  }