update 优化 工作流类别翻译器支持批量翻译

This commit is contained in:
疯狂的狮子Li
2026-04-02 11:35:43 +08:00
parent f8ebeaa01a
commit e20e31b5f8

View File

@@ -81,7 +81,8 @@ public class FlwCategoryServiceImpl implements IFlwCategoryService, CategoryServ
return Collections.emptyMap(); return Collections.emptyMap();
} }
List<FlowCategory> list = baseMapper.selectList(new LambdaQueryWrapper<FlowCategory>() List<FlowCategory> list = baseMapper.selectList(new LambdaQueryWrapper<FlowCategory>()
.select(FlowCategory::getCategoryName).in(FlowCategory::getCategoryId, categoryIds)); .select(FlowCategory::getCategoryId, FlowCategory::getCategoryName)
.in(FlowCategory::getCategoryId, categoryIds));
return StreamUtils.toMap(list, FlowCategory::getCategoryId, FlowCategory::getCategoryName); return StreamUtils.toMap(list, FlowCategory::getCategoryId, FlowCategory::getCategoryName);
} }