feat(功能用例): 补充评审脑图增加用例ID字段
This commit is contained in:
parent
e8ffc7b3b3
commit
08e2748eae
|
@ -13,6 +13,9 @@ public class FunctionalMinderTreeNodeDTO {
|
|||
@Schema(description = "节点ID")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "用例ID")
|
||||
private String caseId;
|
||||
|
||||
@Schema(description = "节点顺序")
|
||||
private Long pos;
|
||||
|
||||
|
|
|
@ -160,6 +160,7 @@ public class FunctionalCaseMinderService {
|
|||
rootData.setId(functionalCaseMindDTO.getId());
|
||||
rootData.setPos(functionalCaseMindDTO.getPos());
|
||||
rootData.setText(functionalCaseMindDTO.getName());
|
||||
rootData.setCaseId(functionalCaseMindDTO.getCaseId());
|
||||
rootData.setPriority(StringUtils.isNotBlank(priorityMap.get(functionalCaseMindDTO.getCaseId())) ? Integer.parseInt(priorityMap.get(functionalCaseMindDTO.getCaseId()).substring(1)) + 1 : 1);
|
||||
rootData.setStatus(functionalCaseMindDTO.getReviewStatus());
|
||||
rootData.setResource(List.of(Translator.get("minder_extra_node.case")));
|
||||
|
|
Loading…
Reference in New Issue