fix(测试用例): 修复测试用例自定义字段有重复的问题

This commit is contained in:
CaptainB 2022-04-09 13:01:25 +08:00 committed by 刘瑞斌
parent 372b8db78f
commit da8ff4bbb1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class CustomFieldService {
result.add(customFieldDao); result.add(customFieldDao);
}); });
} }
return result; return result.stream().distinct().collect(Collectors.toList());
} }
public List<CustomField> getFieldByIds(List<String> ids) { public List<CustomField> getFieldByIds(List<String> ids) {