Compare commits

..

3 Commits

Author SHA1 Message Date
wangliwen b95e75b886 Merge branch 'master' into docker_package 2023-01-10 11:47:26 +08:00
wangliwen b672daf030 Merge branch 'dev' 2023-01-10 11:47:20 +08:00
wangliwen 3ac9f76c7f ... 2023-01-10 11:47:13 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class SysDeptController {
List<Map<String, Object>> list_metting = jdbcTemplate.queryForList("SELECT DISTINCT dept from t_meetingroom_book WHERE dept IS NOT NULL;");
List<String> temp = list.stream().map(index -> index.get("name")).filter(index -> index != null).map(index -> index.toString()).collect(Collectors.toList());
List<Map<String, Object>> list_ = list_metting.stream().map(index -> index.get("dept")).filter(index -> index != null).collect(Collectors.toList())
.stream().filter(index -> !temp.contains(index.toString())).map(index -> new LinkedHashMap() {{
.stream().filter(index -> !temp.contains(index.toString())).map(index -> new HashMap<String, Object>() {{
put("id", null);
put("name", index.toString());
}}).collect(Collectors.toList());