@Test public void getAllProjectDbsetRelation() throws Exception { List<ProjectDbsetRelation> list = projectDbsetRelationDao.getAllProjectDbsetRelation(88L); System.out.println("getAllProjectDbsetRelation :-------> " + list); Assert.assertTrue(list.size() > 0); }
public List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId) throws SQLException { String sql = "select id, dbset_id, project_id, update_user_no, insert_time, update_time from project_dbset_relation where project_id = " + projectId; return this.queryBySql(sql, ProjectDbsetRelation.class); }
ProjectDbsetRelationDao extends BaseDao { public List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId) throws SQLException { String sql = "select id, dbset_id, project_id, update_user_no, insert_time, update_time from project_dbset_relation where project_id = " + projectId; return this.queryBySql(sql, ProjectDbsetRelation.class); } }
ProjectDbsetRelationDao extends BaseDao { public List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId) throws SQLException { String sql = "select id, dbset_id, project_id, update_user_no, insert_time, update_time from project_dbset_relation where project_id = " + projectId; return this.queryBySql(sql, ProjectDbsetRelation.class); }  }
ProjectDbsetRelationDao extends BaseDao { public List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId) throws SQLException { String sql = "select id, dbset_id, project_id, update_user_no, insert_time, update_time from project_dbset_relation where project_id = " + projectId; return this.queryBySql(sql, ProjectDbsetRelation.class); }  Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int[] insertRelationList(List<ProjectDbsetRelation> projectDbsetRelations); int updateProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int deleteByProjectAndDbSetIdS(Long projectId, Set<Long> dbsetIds); int deleteByProjectId(Long projectId); ProjectDbsetRelation getProjectDbsetRelationById(Long id); List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId); Long getCountByRelation(Long dbsetId, Long projectId); }
ProjectDbsetRelationDao extends BaseDao { public List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId) throws SQLException { String sql = "select id, dbset_id, project_id, update_user_no, insert_time, update_time from project_dbset_relation where project_id = " + projectId; return this.queryBySql(sql, ProjectDbsetRelation.class); }  Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int[] insertRelationList(List<ProjectDbsetRelation> projectDbsetRelations); int updateProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation); int deleteByProjectAndDbSetIdS(Long projectId, Set<Long> dbsetIds); int deleteByProjectId(Long projectId); ProjectDbsetRelation getProjectDbsetRelationById(Long id); List<ProjectDbsetRelation> getAllProjectDbsetRelation(Long projectId); Long getCountByRelation(Long dbsetId, Long projectId);  }