27 lines
2.1 KiB
SQL
27 lines
2.1 KiB
SQL
-- =============================================================================
|
|
-- AML 名单种子(jinrong_agent 库 · 需先执行 docs/项目框架设计/表设计/01-mysql-共用底座.sql
|
|
-- 与 02-mysql-agent专用.sql 建 risk_aml_list 表)
|
|
-- 依据:docs/PRD/PRD-风控监测Agent.md FR-5
|
|
-- 说明:full_name 与 core_customer.display_name 同为脱敏展示名口径;
|
|
-- AML-0001 故意与种子客户 CUST-1002 的展示名「客户·赵**」一致(演示命中,PRD A-5 用例;
|
|
-- CUST-1002 测评已被 scripts/demo/prepare_risk_demo.sql 刷新,交易可成功走通 AML 链路)。
|
|
-- 其余名单名(名单样例·壹/贰/叁)与全部种子客户展示名相似度 <0.85,不构成命中(B4 评审 P2-2,
|
|
-- 维持 PRD §10.1「故意包含 1 条同名记录」口径)。
|
|
-- =============================================================================
|
|
|
|
USE jinrong_agent;
|
|
|
|
INSERT INTO risk_aml_list
|
|
(list_id, list_type, full_name, id_no, bank_card_no, match_threshold, source, list_version, effective_date) VALUES
|
|
('AML-0001', 'sanction', '客户·赵**', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0002', 'terror', '客户·测试命中**', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0003', 'sanction', '客户·李**', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0004', 'pep', '名单样例·壹', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0005', 'sanction', '张某某', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0006', 'terror', '名单样例·贰', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0007', 'pep', '客户·刘**', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01'),
|
|
('AML-0008', 'sanction', '名单样例·叁', NULL, NULL, 0.85, '外部名单镜像(模拟)', 'V2026.09', '2026-01-01');
|
|
|
|
-- 校验
|
|
SELECT list_id, list_type, full_name, is_active FROM risk_aml_list;
|