@Test public void deleteServer() throws Exception { Long id = 6L; server.setId(id); int _id = serverDao.deleteServer(server); System.out.println("deleteServer :-------> " + _id); Assert.assertTrue(_id > 0); }
public int deleteServer(Server server) throws SQLException { return this.getDasClient().deleteByPk(server); }
ServerDao extends BaseDao { public int deleteServer(Server server) throws SQLException { return this.getDasClient().deleteByPk(server); } }
ServerDao extends BaseDao { public int deleteServer(Server server) throws SQLException { return this.getDasClient().deleteByPk(server); }  }
ServerDao extends BaseDao { public int deleteServer(Server server) throws SQLException { return this.getDasClient().deleteByPk(server); }  Server getServerById(Long id); Long insertServer(Server server); int updateServer(Server server); int deleteServer(Server server); int deleteServerAndServerConfigByServerId(Long serverId); boolean isNotExistByIpAndPort(Server server); int deleteServerByServerGroupId(Long serverGroupId); int changeServerGroup(long serverId, long serverGroupId); List<Server> getServersByServerGroupId(Long serverGroupId); Long getServerTotalCount(Paging<Server> paging); List<ServerView> findServerPageList(Paging<Server> paging); }
ServerDao extends BaseDao { public int deleteServer(Server server) throws SQLException { return this.getDasClient().deleteByPk(server); }  Server getServerById(Long id); Long insertServer(Server server); int updateServer(Server server); int deleteServer(Server server); int deleteServerAndServerConfigByServerId(Long serverId); boolean isNotExistByIpAndPort(Server server); int deleteServerByServerGroupId(Long serverGroupId); int changeServerGroup(long serverId, long serverGroupId); List<Server> getServersByServerGroupId(Long serverGroupId); Long getServerTotalCount(Paging<Server> paging); List<ServerView> findServerPageList(Paging<Server> paging);  }