|
|
@@ -590,8 +590,8 @@ public class PtlAgreementUndwrtRulesServiceImpl extends ServiceImpl<PtlAgreement
|
|
|
sourceRuleIds = List.of(ruleId);
|
|
|
}
|
|
|
|
|
|
- // 批量复制:多条规则共享同一个新 parentId
|
|
|
- String newParentId = sourceRuleIds.size() > 1 ? IdGenerate.nextId() : null;
|
|
|
+ // 复制时给新规则重新生成 parentId,避免与原规则共享 parent_id
|
|
|
+ String newParentId = IdGenerate.nextId();
|
|
|
List<RulesGroupParam> groups = new ArrayList<>();
|
|
|
|
|
|
// 获取属性映射(用于组装返回结果)
|