27 lines
1.6 KiB
Markdown
27 lines
1.6 KiB
Markdown
# 账号库列表排除信贷客户实施记录
|
|
|
|
## 1. 本次实施内容
|
|
|
|
- 在 `CcdiAccountInfoMapper.xml` 的公共查询条件 `AccountInfoWhereClause` 中增加 `AND ai.owner_type <> 'CREDIT_CUSTOMER'`。
|
|
- 账号库列表分页与导出查询共用该条件,因此两处均不再返回信贷客户账号。
|
|
- 在 `CcdiAccountInfoMapperTest` 中补充 SQL 渲染断言,覆盖信贷客户排除条件。
|
|
- 前端页面、筛选项、接口参数和账号库新增编辑导入校验未调整。
|
|
|
|
## 2. 影响范围
|
|
|
|
- 影响接口:`/ccdi/accountInfo/list`
|
|
- 影响查询:`selectAccountInfoPage`、`selectAccountInfoListForExport`
|
|
- 不影响账号详情、新增、编辑、删除、导入模板和导入处理。
|
|
|
|
## 3. 验证记录
|
|
|
|
- 已确认 Mapper XML 包含固定排除条件。
|
|
- 已确认 `ownerType=CREDIT_CUSTOMER` 会与固定排除条件组合为空结果。
|
|
- 已执行 `git diff --check -- ccdi-info-collection/src/main/resources/mapper/info/collection/CcdiAccountInfoMapper.xml docs/plans/backend/2026-05-27-account-info-exclude-credit-customer-backend-implementation.md docs/reports/implementation/2026-05-27-account-info-exclude-credit-customer-implementation.md`,无空白问题。
|
|
- 已执行 `mvn -pl ccdi-info-collection -am -DskipTests compile`,结果 `BUILD SUCCESS`。
|
|
- 已执行 `mvn -pl ccdi-info-collection -am test`,结果 `BUILD SUCCESS`,共运行 171 个测试,失败 0、错误 0。
|
|
|
|
## 4. 前提说明
|
|
|
|
信贷客户账号需要以 `owner_type = 'CREDIT_CUSTOMER'` 写入 `ccdi_account_info`,否则本次列表排除条件无法识别。
|