ServerConfigDao extends BaseDao { public int deleteServerAppConfig(ServerConfig serverAppConfig) throws SQLException { return this.getDasClient().deleteByPk(serverAppConfig); }  Long insertServerAppConfig(ServerConfig serverAppConfig); int deleteServerAppConfig(ServerConfig serverAppConfig); int updateServerAppConfig(ServerConfig serverAppConfig); int deleteServerConfigByServerGroupId(Long serverId); List<ServerConfig> getServerAppConfigByServerId(Long serverId); Long getServerAppConfigTotalCount(Paging<ServerConfig> paging); List<ServerConfig> findServerAppConfigPageList(Paging<ServerConfig> paging);  }
@Test public void deleteServerAppConfig() throws Exception { serverConfig.setId(5L); int count = serverConfigDao.deleteServerAppConfig(serverConfig); System.out.println("deleteServerAppConfig :-------> " + count); Assert.assertTrue(count > 0); }