fix: 修复获取模块取错字段的问题

This commit is contained in:
曹鹏飞 2025-03-26 11:33:07 +08:00
parent 91dbceb80f
commit 4634392438
1 changed files with 2 additions and 2 deletions

View File

@ -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());
} }