预算书-部门情况功能完善 功能添加 10.28

master
zhc077 4 weeks ago
parent 737721fb2e
commit 2b850e8061
  1. 6
      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<Project, IProjectService>
} }
List<DictModel> dictModels2 = sysBaseApi.queryDictItemsByCode("depart_category"); List<DictModel> dictModels2 = sysBaseApi.queryDictItemsByCode("depart_category");
if(ObjectUtil.isNotEmpty(dictModels2)){ if(ObjectUtil.isNotEmpty(dictModels2)){
dictModels2.forEach(e->{ dictModels2.forEach(d->{
if(e.getValue().equals(dto.getOrgCategory())){ if(d.getValue().equals(dto.getOrgCategory())){
dto.setOrgCategory(e.getText()); dto.setOrgCategory(d.getText());
} }
}); });
} }

Loading…
Cancel
Save