@Test public void getSelectEntityTotalCount() throws Exception { Long count = selectEntityDao.getSelectEntityTotalCount(paging); System.out.println("getSelectEntityTotalCount :-------> " + count); Assert.assertTrue(count > 0); }
public Long getSelectEntityTotalCount(Paging<TaskSql> paging) throws SQLException { String sql = "select count(1) from task_sql t1 " + " join login_users t2 on t1.update_user_no = t2.user_no " + " join databaseset t3 on t1.dbset_id = t3.id" + appenWhere(paging); return this.getCount(sql); }
SelectEntityDao extends BaseDao { public Long getSelectEntityTotalCount(Paging<TaskSql> paging) throws SQLException { String sql = "select count(1) from task_sql t1 " + " join login_users t2 on t1.update_user_no = t2.user_no " + " join databaseset t3 on t1.dbset_id = t3.id" + appenWhere(paging); return this.getCount(sql); } }
SelectEntityDao extends BaseDao { public Long getSelectEntityTotalCount(Paging<TaskSql> paging) throws SQLException { String sql = "select count(1) from task_sql t1 " + " join login_users t2 on t1.update_user_no = t2.user_no " + " join databaseset t3 on t1.dbset_id = t3.id" + appenWhere(paging); return this.getCount(sql); }  }
SelectEntityDao extends BaseDao { public Long getSelectEntityTotalCount(Paging<TaskSql> paging) throws SQLException { String sql = "select count(1) from task_sql t1 " + " join login_users t2 on t1.update_user_no = t2.user_no " + " join databaseset t3 on t1.dbset_id = t3.id" + appenWhere(paging); return this.getCount(sql); }  Long insertTask(TaskSql task); int updateTask(TaskSql task); int deleteTask(TaskSql task); int deleteByProjectId(Long projectId); TaskSql getTasksByTaskId(Long id); Long getSelectEntityTotalCount(Paging<TaskSql> paging); List<TaskSqlView> findSelectEntityPageList(Paging<TaskSql> paging); }
SelectEntityDao extends BaseDao { public Long getSelectEntityTotalCount(Paging<TaskSql> paging) throws SQLException { String sql = "select count(1) from task_sql t1 " + " join login_users t2 on t1.update_user_no = t2.user_no " + " join databaseset t3 on t1.dbset_id = t3.id" + appenWhere(paging); return this.getCount(sql); }  Long insertTask(TaskSql task); int updateTask(TaskSql task); int deleteTask(TaskSql task); int deleteByProjectId(Long projectId); TaskSql getTasksByTaskId(Long id); Long getSelectEntityTotalCount(Paging<TaskSql> paging); List<TaskSqlView> findSelectEntityPageList(Paging<TaskSql> paging);  }