Commit 1d7cc64d by zhiwj

去掉重复值

parent afcc744f
......@@ -113,7 +113,7 @@ public class IndexDescApiServiceImpl implements IndexDescApiService {
public ServiceResponse<List<IndexDescDTO>> listAllUnRel(String moduleIds) {
List<String> relModuleIdList = indexModuleRelService.listRelModuleId(LogAndUpdateTipsTypeEnum.INDEX.getCode());
List<Integer> notInIndexDescIdList = Optional.of(relModuleIdList).orElse(Collections.emptyList())
.stream().map(Integer::valueOf).collect(Collectors.toList());
.stream().filter(StringUtils::isNotBlank).map(Integer::valueOf).collect(Collectors.toList());
List<TabIndexDesc> indexDescList = this.indexDescService.listAllUnRel(notInIndexDescIdList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment