/**
* 根据学院id查所在校区的id和name集合-王雷-测试成功-2017年10月1日10:41:00
*/
@Test
public void testselectschoolBranchIdAndNameByinstitutionId_right() {
String id = "6Bn4emdYQcnafDnhXbRK6N";
try {
List<Map<String, String>> list = organizationFacade.selectschoolBranchIdAndNameByinstitutionId(id);
if (list != null && !list.isEmpty()) {
for (Map<String, String> m : list) {
for (String k : m.keySet()) {
Object ob = m.get(k);
System.out.println(k + " : " + ob.toString());
}
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
【Map】遍历Map
最新推荐文章于 2024-07-01 16:13:53 发布