docs: 风控模块 PRD v1.0/规则附表/架构 v1.1/开发计划 v1.1 + 文档联动修正

This commit is contained in:
2026-09-06 15:09:13 +08:00
parent 1ddd44a6cb
commit 487b9da5b1
15 changed files with 914 additions and 6 deletions
+24
View File
@@ -0,0 +1,24 @@
-- =============================================================================
-- 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 链路)。
-- =============================================================================
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;