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