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