ProjectDbsetRelationDao extends BaseDao { public ProjectDbsetRelation getProjectDbsetRelationById(Long id) throws SQLException { ProjectDbsetRelation project = new ProjectDbsetRelation(); project.setId(id); return this.getDasClient().queryByPk(project); }  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);  }
@Test public void getProjectDbsetRelationById() throws Exception { ProjectDbsetRelation projectDbsetRelation = projectDbsetRelationDao.getProjectDbsetRelationById(304L); System.out.println("getProjectDbsetRelationById :-------> " + projectDbsetRelation); Assert.assertTrue(projectDbsetRelation != null); }