class ServerDao extends BaseDao {

    public int deleteServerByServerGroupId(Long serverGroupId) throws SQLException {
        String sql = "DELETE FROM server WHERE server_group_id = ?";
        return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, serverGroupId));
    }

}