From 2b850e806151f4c0d9fb135a83fb9b6f94264a70 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Mon, 28 Oct 2024 18:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=AE=97=E4=B9=A6-=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=83=85=E5=86=B5=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0=2010.28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/demo/project/controller/ProjectController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java index db1ae8b..b6fb8c4 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/project/controller/ProjectController.java @@ -205,9 +205,9 @@ public class ProjectController extends JeecgController } List dictModels2 = sysBaseApi.queryDictItemsByCode("depart_category"); if(ObjectUtil.isNotEmpty(dictModels2)){ - dictModels2.forEach(e->{ - if(e.getValue().equals(dto.getOrgCategory())){ - dto.setOrgCategory(e.getText()); + dictModels2.forEach(d->{ + if(d.getValue().equals(dto.getOrgCategory())){ + dto.setOrgCategory(d.getText()); } }); }