Compare commits
No commits in common. "b672daf030d8975e1ab91c13feef29c40912391f" and "b30439de677fe1953592f1e7b302838f455bfce4" have entirely different histories.
b672daf030
...
b30439de67
|
@ -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<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<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())
|
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 HashMap<String, Object>() {{
|
.stream().filter(index -> !temp.contains(index.toString())).map(index -> new LinkedHashMap() {{
|
||||||
put("id", null);
|
put("id", null);
|
||||||
put("name", index.toString());
|
put("name", index.toString());
|
||||||
}}).collect(Collectors.toList());
|
}}).collect(Collectors.toList());
|
||||||
|
|
Loading…
Reference in New Issue