fix: 首页用例维护人显示不正确#1006427
--bug=1006427 --user=lyh 【github#5902】测试跟踪》首页》用例维护人 显示不正确 https://www.tapd.cn/55049933/s/1052569
This commit is contained in:
parent
ebec57f2e5
commit
71948d659a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue