fix(功能案例xmind导出): #1006333 【github#5823】导出的测试用例xmind脑图没有优先级标签

【【github#5823】v1.12.0导出的测试用例xmind脑图没有优先级标签】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006333
This commit is contained in:
song-tianyang 2021-09-03 15:09:49 +08:00 committed by fit2-zhao
parent 46631e97b0
commit a99c89d001
1 changed files with 5 additions and 1 deletions

View File

@ -196,7 +196,11 @@ public class XmindExportUtil {
if (style != null) {
itemTopic.setStyleId(style.getId());
}
itemTopic.setTitleText("tc:" + dto.getName());
String caseNameType = "tc:";
if(StringUtils.isNotEmpty(dto.getPriority())){
caseNameType = "tc-"+dto.getPriority()+":";
}
itemTopic.setTitleText(caseNameType + dto.getName());
String id = dto.getNum().toString();
if (this.isUseCustomId) {