@Test public void deleteProjectDbsetRelation() throws Exception { projectDbsetRelation.setId(312L); int count = projectDbsetRelationDao.deleteProjectDbsetRelation(projectDbsetRelation); System.out.println("deleteProjectDbsetRelation :-------> " + count); Assert.assertTrue(count > 0); }
public int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation || projectDbsetRelation.getId() == null) { return 0; } return this.getDasClient().deleteByPk(projectDbsetRelation); }
ProjectDbsetRelationDao extends BaseDao { public int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation || projectDbsetRelation.getId() == null) { return 0; } return this.getDasClient().deleteByPk(projectDbsetRelation); } }
ProjectDbsetRelationDao extends BaseDao { public int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation || projectDbsetRelation.getId() == null) { return 0; } return this.getDasClient().deleteByPk(projectDbsetRelation); }  }
ProjectDbsetRelationDao extends BaseDao { public int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation || projectDbsetRelation.getId() == null) { return 0; } return this.getDasClient().deleteByPk(projectDbsetRelation); }  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 int deleteProjectDbsetRelation(ProjectDbsetRelation projectDbsetRelation) throws SQLException { if (null == projectDbsetRelation || projectDbsetRelation.getId() == null) { return 0; } return this.getDasClient().deleteByPk(projectDbsetRelation); }  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);  }