DatabaseSetDao extends BaseDao { public int deleteDatabaseSetEntryByDbsetId(Long dbsetId) throws SQLException { String sql = "DELETE FROM databasesetentry WHERE dbset_id = ?"; return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, dbsetId)); }  Long insertDatabaseSet(DatabaseSet dbset); int updateDatabaseSet(DatabaseSet dbset); int deleteDatabaseSetById(Long dbsetId); int deleteDatabaseSetEntryByDbsetId(Long dbsetId); DatabaseSet getDatabaseSetById(Long id); DatabaseSet getDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByName(String name); List<DatabaseSet> getAllDatabaseSetByNames(List<String> names); List<DatabaseSet> getAllDatabaseSetById(Long id); List<DatabaseSetView> getAllDatabaseSetByProjectId(Long projectId); List<DatabaseSet> getAllDatabaseSetByGroupId(Long groupId); DatabaseSetEntry getMasterDatabaseSetEntryByDatabaseSetId(Long dbset_id); Long getDbSetTotalCount(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageList(Paging<DatabaseSet> paging); Long getDbSetTotalCountByAppid(Paging<DatabaseSet> paging); List<DatabaseSetView> findDbSetPageListByAppid(Paging<DatabaseSet> paging);  }
@Test public void deleteDatabaseSetEntryByDbsetId() throws Exception { int count = databaseSetDao.deleteDatabaseSetEntryByDbsetId(999L); System.out.println("deleteDatabaseSetEntryByDbsetId :-------> " + count); Assert.assertTrue(count > 0); }