相关项目版本排序
This commit is contained in:
+1
@@ -1020,6 +1020,7 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
||||
List<String> result = new ArrayList<>();
|
||||
if(list.size() != 0){
|
||||
result = list.stream().map(ProjectLibraryBase::getProjectVersion).collect(Collectors.toList());
|
||||
Collections.sort(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user