Files
junhong_cmp_fiber/docs/脚本/清理代理预充值.sql
2026-07-24 16:07:18 +08:00

13 lines
566 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 本脚本已停用。
--
-- 原实现会直接修改代理主钱包余额,绕过 Wallet Application、Domain Ledger、
-- 幂等资金流水和 Outbox因此在信用钱包切换后不再允许执行。
-- 如需清理代理主钱包余额,必须先建立具有稳定业务单号的受控 Application 用例,
-- 并在同一事务内写入权威资金流水与可靠事件;禁止恢复本文件中的历史直写逻辑。
DO $$
BEGIN
RAISE EXCEPTION '代理主钱包直写清理脚本已停用,请使用受控 Wallet Application 用例';
END
$$;