-- 仅处理 wa_merchandise：与 com-sxsy80-data-imgration.md 一致
-- 从源 dump 解析应保留的 id 列表（见 wa_merchandise_keep_ids_from_dump_sxsy80.txt），删除库中 id 不在此集合的所有行。

SET NAMES utf8mb4;
START TRANSACTION;

DELETE FROM `wa_merchandise`
WHERE `id` NOT IN (
  163212,163213,163214,163223,163224,163225,163226,163231,163234,163235,163237,163239,163244,163245,163246,163254,163255,163259
);

COMMIT;
