Browse Source

SSM 更改development 文件的内容

master
adiao 3 years ago
parent
commit
823f665727
  1. 31
      development.md

31
development.md

@ -50,18 +50,20 @@ $2a$10$dG4MfJUtOVJLUse1p27kZe.qkgHxTNtDslSMMSTAV7ifncpGMngfW
$2a$10$.BNlpDFkZQTbq9Pyjtxq7OsRaJ4j96Dr8lDTTeRh6BobA7vhFz/5W $2a$10$.BNlpDFkZQTbq9Pyjtxq7OsRaJ4j96Dr8lDTTeRh6BobA7vhFz/5W
【分别对应1~3个账号】 【分别对应1~3个账号】
Map<String, Object> items = new HashMap<>(); ```Java
List<String[]> result = menus.stream().map(map -> new String[]{ Map<String, Object> items=new HashMap<>();
(String) map.get("name"), List<String[]>result=menus.stream().map(map->new String[]{
(String) map.get("urlname"), (String)map.get("name"),
(String) map.get("url") (String)map.get("urlname"),
}).collect(Collectors.toList()); (String)map.get("url")
}).collect(Collectors.toList());
//System.out.println("menu2" + result); //System.out.println("menu2" + result);
String[] strings = result.get(0); String[]strings=result.get(0);
items.put("items", strings); items.put("items",strings);
System.out.println(items); System.out.println(items);
Object items1 = items.get("items"); Object items1=items.get("items");
System.out.println(items1); System.out.println(items1);
```
```json ```json
{ {
@ -237,4 +239,9 @@ System.out.println(items1);
..... .....
} }
} }
``` ```
事务注解的属性:
![](https://pic1.zhimg.com/v2-9408c0ee1a37b1301e8a9744e8341b30_r.jpg)

Loading…
Cancel
Save