@Test public void insertProjectDbsetRelation() throws Exception { Long id = projectDbsetRelationDao.insertProjectDbsetRelation(projectDbsetRelation); System.out.println("insertProjectDbsetRelation :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation) { return 0L; } this.getDasClient().insert(projectDbsetRelation, Hints.hints().setIdBack()); return projectDbsetRelation.getId(); }
ProjectDbsetRelationDao extends BaseDao { public Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation) { return 0L; } this.getDasClient().insert(projectDbsetRelation, Hints.hints().setIdBack()); return projectDbsetRelation.getId(); } }
ProjectDbsetRelationDao extends BaseDao { public Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation) { return 0L; } this.getDasClient().insert(projectDbsetRelation, Hints.hints().setIdBack()); return projectDbsetRelation.getId(); }  }
ProjectDbsetRelationDao extends BaseDao { public Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation) { return 0L; } this.getDasClient().insert(projectDbsetRelation, Hints.hints().setIdBack()); return projectDbsetRelation.getId(); }  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 Long insertProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation) { return 0L; } this.getDasClient().insert(projectDbsetRelation, Hints.hints().setIdBack()); return projectDbsetRelation.getId(); }  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);  }