对应版本下拉
This commit is contained in:
+3
-1
@@ -366,7 +366,9 @@ public class ProjectRxswinEOServiceImpl extends ServiceImpl<ProjectRxswinEOMappe
|
||||
LambdaQueryWrapper<ProjectRxswinEO> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.eq(ProjectRxswinEO::getProjectId,projectId);
|
||||
List<ProjectRxswinEO> rxswinEOList = this.list(wrapper);
|
||||
List<String> versionList = rxswinEOList.stream().map(ProjectRxswinEO::getVersion).distinct().collect(Collectors.toList());
|
||||
List<String> versionList = rxswinEOList.stream()
|
||||
.filter(e->StringUtils.isNotBlank(e.getVersion()))
|
||||
.map(ProjectRxswinEO::getVersion).distinct().collect(Collectors.toList());
|
||||
Collections.sort(versionList,(a,b)->{
|
||||
return Integer.parseInt(a) - Integer.parseInt(b);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user