fix(我的工作台): 列表信息显示的人员名称格式不一致

--bug=1011777
--user=郭雨琦
【我的工作台】github#12026,我的工作台》》我的创建:列表信息显示的人员名称不一致,有的是中文有的是用户Id
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001011777

chore(sync): sync
This commit is contained in:
guoyuqi 2022-03-30 18:41:52 +08:00 committed by 刘瑞斌
parent 5f3c76dc6d
commit 850137d293
3 changed files with 4 additions and 2 deletions

View File

@ -393,6 +393,9 @@ public class IssuesService {
private Map<String, Set<String>> getCaseSetMap(List<IssuesDao> issues) {
List<String> ids = issues.stream().map(Issues::getId).collect(Collectors.toList());
Map<String,Set<String>>map = new HashMap<>();
if(ids.size()==0){
return map;
}
TestCaseIssuesExample example = new TestCaseIssuesExample();
example.createCriteria().andIssuesIdIn(ids);
List<TestCaseIssues> testCaseIssues = testCaseIssuesMapper.selectByExample(example);

View File

@ -298,7 +298,6 @@ export default {
return {text: u.name, value: u.id};
});
});
},
handleEdit(data) {
this.$refs.issueEdit.open(data, 'edit');

@ -1 +1 @@
Subproject commit 3a784a9dcc3616f263faeea49ce0141b30832f11
Subproject commit ae594be2b7193b90a0f25c86d6ab8c78c930baa3