mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 19:18:59 +08:00
refactor(功能用例): 功能用例脑图修改用例等级回显方式
This commit is contained in:
parent
7f7819af89
commit
4f7b6aae67
@ -20,7 +20,7 @@ public class FunctionalMinderTreeNodeDTO {
|
||||
private String text;
|
||||
|
||||
@Schema(description = "用例等级")
|
||||
private String priority;
|
||||
private Integer priority;
|
||||
|
||||
@Schema(description = "用例评审状态")
|
||||
private String status;
|
||||
|
@ -183,7 +183,7 @@ public class FunctionalCaseMinderService {
|
||||
rootData.setId(functionalCaseMindDTO.getId());
|
||||
rootData.setPos(functionalCaseMindDTO.getPos());
|
||||
rootData.setText(functionalCaseMindDTO.getName());
|
||||
rootData.setPriority(functionalCaseMindDTO.getPriority());
|
||||
rootData.setPriority(StringUtils.isNotBlank(functionalCaseMindDTO.getPriority()) ? Integer.parseInt(functionalCaseMindDTO.getPriority().substring(1)) : 0);
|
||||
rootData.setStatus(functionalCaseMindDTO.getReviewStatus());
|
||||
rootData.setResource(List.of(Translator.get("minder_extra_node.case")));
|
||||
List<FunctionalMinderTreeDTO> children = buildChildren(functionalCaseMindDTO);
|
||||
|
Loading…
Reference in New Issue
Block a user