List<Map<String, Object>> list = setRoleMenuRlMapper.selectMapByParams(params);
// Map map = new HashMap<String, Object>();
// map.put("hahaha","111");
// map.put("xixi", "22222222");
// list.add(map); list.add(new HashMap<String, Object>() {
{
put("haha","1111");
put("xixi", "22222222");}
});
代码块会 执行