You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
|
3 days ago
|
# 04 · 已知缺口:查重设置页端点 + QuickCreate.confirmSimilar
|
||
|
|
|
||
|
|
- **Status:** open
|
||
|
|
- **Type:** task
|
||
|
|
- **Blocked by:** 02-style-unify
|
||
|
|
|
||
|
|
## 目标
|
||
|
|
|
||
|
|
两个规格内小缺口补齐(R8)。
|
||
|
|
|
||
|
|
## A. 查重设置页端点(a7-3-3-2 前端页面无接口支撑)
|
||
|
|
|
||
|
|
- crm-rule 新增 `GET /api/rule/customer/dedup`(读当前配置)+ `POST /api/rule/customer/dedup/save`(表单绑定);
|
||
|
|
- 配置实体复用既有 DedupRule 单例(票09 已做服务端种子),对称 `CustomerReminderRuleController` 改造后形态;
|
||
|
|
- 权限:客户管理设置菜单权限点(与提醒规则同款);
|
||
|
|
- tag:`A7 后台管理/客户管理设置/查重设置`。
|
||
|
|
|
||
|
|
## B. QuickCreateDTO 加 confirmSimilar
|
||
|
|
|
||
|
|
- 商机弹窗快建客户命中相似客户时"仍要创建"透传字段(D3 已有 confirmPhone 同款形态);
|
||
|
|
- `CustomerQuickCreateParam` 加 `confirmSimilar: Boolean`(默认 false),命中相似且未确认 → 仍抛 670xx 提示码(沿用既有 check-name 口径)。
|
||
|
|
|
||
|
|
## 验收
|
||
|
|
|
||
|
|
- 两模块 mvn test 绿,新端点有单测;
|
||
|
|
- API-SUMMARY §5 已知缺口清单这两条销账。
|