fix: 首页用例维护人显示不正确#1006427

--bug=1006427 --user=lyh 【github#5902】测试跟踪》首页》用例维护人 显示不正确
https://www.tapd.cn/55049933/s/1052569
This commit is contained in:
shiziyuan9527 2021-09-28 10:46:56 +08:00 committed by shiziyuan9527
parent ebec57f2e5
commit 71948d659a
1 changed files with 6 additions and 0 deletions

View File

@ -416,6 +416,9 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
String customFieldsJson = this.getCustomFieldsJson(data);
testCase.setCustomFields(customFieldsJson);
if (StringUtils.isNotBlank(data.getMaintainer())) {
testCase.setMaintainer(data.getMaintainer());
}
if (StringUtils.isNotBlank(data.getStepModel())
&& StringUtils.equals(data.getStepModel(), TestCaseConstants.StepModel.TEXT.name())) {
@ -466,6 +469,9 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
String customFieldsJson = this.getCustomFieldsJson(data);
testCase.setCustomFields(customFieldsJson);
if (StringUtils.isNotBlank(data.getMaintainer())) {
testCase.setMaintainer(data.getMaintainer());
}
//将标签设置为前端可解析的格式
String modifiedTags = modifyTagPattern(data);