Files
ccdi/docs/reports/implementation/2026-06-01-frequent-cash-deposit-self-only.md

26 lines
1.4 KiB
Markdown
Raw 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.
# 短时间多次存现本人口径调整实施记录
## 修改内容
- 调整后端大额交易模型规则 `FREQUENT_CASH_DEPOSIT`
- 删除规则 SQL 中关系人流水 `UNION ALL` 分支。
- 规则现仅统计员工本人流水,即 `ccdi_base_staff.id_card = ccdi_bank_statement.cret_no`
## 影响范围
- 影响文件:`ccdi-project/src/main/resources/mapper/ccdi/project/CcdiBankTagAnalysisMapper.xml`
- 影响规则:短时间多次存现。
- 配偶、父母、子女等员工关系人流水不再自动归集到员工本人名下触发该规则。
- 已生成的历史打标结果不会自动变化,需要重新执行项目分析/打标后生效。
## 验证情况
- 已检查 `selectFrequentCashDepositObjects` 规则片段,确认仅保留员工本人分支。
- 已执行 `mvn -pl ccdi-project -am compile -DskipTests`,编译通过。
- 已通过 `output/frequent_cash_deposit_self_only_verification.sql` 写入临时验证数据并执行规则等价 SQL
- 员工 A 本人 3 笔存现,命中员工 A。
- 配偶 B 同时也是员工B 本人 3 笔存现,命中员工 B。
- 当前本人口径不会把 B 的流水归集到员工 A。
- 对照旧关系人分支会额外命中员工 A验证本次删除关系人分支有效。
- 验证脚本末尾已清理临时员工、关系人与流水数据,并复查三张表残留数均为 0。