fix: 修复获取模块取错字段的问题
This commit is contained in:
parent
91dbceb80f
commit
4634392438
|
|
@ -57,10 +57,10 @@ public class WebComponentServiceImpl extends ServiceImpl<WebComponentMapper, Web
|
||||||
@Override
|
@Override
|
||||||
public Collection<String> getModules() {
|
public Collection<String> getModules() {
|
||||||
return lambdaQuery()
|
return lambdaQuery()
|
||||||
.select(WebComponent::getComponentName)
|
.select(WebComponent::getModuleName)
|
||||||
.list()
|
.list()
|
||||||
.stream()
|
.stream()
|
||||||
.map(WebComponent::getComponentName)
|
.map(WebComponent::getModuleName)
|
||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue