Conversation
- 详情接口各合并记录的 createdOperator 改用各记录自身的发起人(FlowContent.pushRecords 取 item 而非 record) - 待办合并登记幂等化:按 (todoId, recordId) 去重,避免详情/已读等再次保存时重复新增合并关系并膨胀合并计数(FlowRecordSaveService) - 新增 findByTodoIds 批量查询,JPA 与 mock 仓储同步实现 - 新增复现测试 FlowMergeDetailInitiatorTest(两个不同发起人的流程合并后校验详情发起人与合并状态) closes #222 closes #223 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
- 消费 SameOperatorAuditStrategy:提交人流转到该节点且审批人含本人时过滤本人, 全部审批人均为提交人时自动通过节点并继续生成下游记录 - 守卫条件(currentOperator == submitOperator)区分正常流转与加签,避免加签记录被误跳过 - ApprovalNode/HandleNode 默认策略集移除 SameOperator:未配置节点保持传统行为(配置驱动), 与前端「相同人员提交配置」可选配置项语义一致 - setStrategies 支持「不在默认集则添加」,保证显式配置的策略不被丢弃 - 新增场景测试:情况1/情况2/控制组 + 四种多人审批模式 × 自动审批(SEQUENCE/MERGE/ANY/RANDOM_ONE) closes #224 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #225 +/- ##
============================================
+ Coverage 74.06% 74.09% +0.02%
- Complexity 1727 1743 +16
============================================
Files 235 235
Lines 7277 7327 +50
Branches 815 827 +12
============================================
+ Hits 5390 5429 +39
- Misses 1476 1486 +10
- Partials 411 412 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.