@RequestMapping("my-team")
public String myTeam(ModelMap model){
this.setLayout(LayoutType.STUDENT);
String employeeCode= CurrentUserUtil.getCurrentUserName();
List list=employeePhotoService.queryEmployPhoto(employeeCode);
model.put("list", list);
System.out.println(list);
return "jquery-orgchart-master/demo/myteam";
}
velocity页面怎么获取List<Map>中的值,就是获取list集合中的值
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
restart101225 2017-12-13 06:46关注#foreach($type in $list)
$!type.id
$!type.taskType
$!type.heartbeatRate
#end本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报