@Test public void deleteServerGroup() throws Exception { serverGroup.setId(3L); int count = serverGroupDao.deleteServerGroup(serverGroup); System.out.println("deleteServerGroup :-------> " + count); Assert.assertTrue(count > 0); }
public int deleteServerGroup(ServerGroup serverGroup) throws SQLException { return this.getDasClient().deleteByPk(serverGroup); }
ServerGroupDao extends BaseDao { public int deleteServerGroup(ServerGroup serverGroup) throws SQLException { return this.getDasClient().deleteByPk(serverGroup); } }
ServerGroupDao extends BaseDao { public int deleteServerGroup(ServerGroup serverGroup) throws SQLException { return this.getDasClient().deleteByPk(serverGroup); }  }
ServerGroupDao extends BaseDao { public int deleteServerGroup(ServerGroup serverGroup) throws SQLException { return this.getDasClient().deleteByPk(serverGroup); }  Long insertServerGroup(ServerGroup serverGroup); ServerGroup getServerGroupById(Long id); List<ServerGroup> getAllServerGroups(); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); int updateServerGroup(ServerGroup serverGroup); int deleteServerGroup(ServerGroup serverGroup); int deleteServerGroupAndServerAndServerConfigByServerGroupId(Long serverGroupId); List<Server> serversNoGroup(Integer appGroupId); Long getServerGroupTotalCount(Paging<ServerGroup> paging); List<ServerGroupView> findServerGroupPageList(Paging<ServerGroup> paging); }
ServerGroupDao extends BaseDao { public int deleteServerGroup(ServerGroup serverGroup) throws SQLException { return this.getDasClient().deleteByPk(serverGroup); }  Long insertServerGroup(ServerGroup serverGroup); ServerGroup getServerGroupById(Long id); List<ServerGroup> getAllServerGroups(); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); int updateServerGroup(ServerGroup serverGroup); int deleteServerGroup(ServerGroup serverGroup); int deleteServerGroupAndServerAndServerConfigByServerGroupId(Long serverGroupId); List<Server> serversNoGroup(Integer appGroupId); Long getServerGroupTotalCount(Paging<ServerGroup> paging); List<ServerGroupView> findServerGroupPageList(Paging<ServerGroup> paging);  }