Skip to content

.4062073974432528:a22aceba03db01133b825b3b4cc66ec3_69edc37876b23b934f810ba1.69edda5d76b23b934f810e1c.69edda5c0a1bff46c4e150c8:Trae CN.T(2026/4/26 17:26:53)#2109

Open
CGW516 wants to merge 3 commits into1Panel-dev:mainfrom
CGW516:t3

Conversation

@CGW516
Copy link
Copy Markdown

@CGW516 CGW516 commented Apr 26, 2026

refactor(service): 统一处理用户和阶段名称的默认值

为OpportunityStageHistoryService、ClueOwnerHistoryService和CustomerOwnerHistoryService添加默认值处理方法

使用TreeMap确保名称映射的键不区分大小写

当用户ID或阶段ID为空或未找到时返回"未知用户"或"未知阶段"

CGW406 added 3 commits April 26, 2026 16:31
新增商机阶段变更历史记录功能,包括前后端接口实现和前端展示
- 后端添加阶段变更历史记录服务
- 前端在商机详情抽屉中展示阶段变更时间线
- 修改阶段更新逻辑以记录变更历史
将HashMap替换为TreeMap并设置CASE_INSENSITIVE_ORDER,确保名称查找不区分大小写
新增getNameIgnoreCase方法统一处理名称映射查找
为OpportunityStageHistoryService、ClueOwnerHistoryService和CustomerOwnerHistoryService添加默认值处理方法
使用TreeMap确保名称映射的键不区分大小写
当用户ID或阶段ID为空或未找到时返回"未知用户"或"未知阶段"
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented Apr 26, 2026

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented Apr 26, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign wangxu10 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant