From e20e31b5f87016c1d02302694ae9bde0230d2ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 2 Apr 2026 11:35:43 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E7=B1=BB=E5=88=AB=E7=BF=BB=E8=AF=91=E5=99=A8?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=89=B9=E9=87=8F=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dromara/workflow/service/impl/FlwCategoryServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/FlwCategoryServiceImpl.java b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/FlwCategoryServiceImpl.java index 719ec0057..8ca553673 100644 --- a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/FlwCategoryServiceImpl.java +++ b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/FlwCategoryServiceImpl.java @@ -81,7 +81,8 @@ public class FlwCategoryServiceImpl implements IFlwCategoryService, CategoryServ return Collections.emptyMap(); } List list = baseMapper.selectList(new LambdaQueryWrapper() - .select(FlowCategory::getCategoryName).in(FlowCategory::getCategoryId, categoryIds)); + .select(FlowCategory::getCategoryId, FlowCategory::getCategoryName) + .in(FlowCategory::getCategoryId, categoryIds)); return StreamUtils.toMap(list, FlowCategory::getCategoryId, FlowCategory::getCategoryName); }