Browse Source

SSM 更改development 文件的内容

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

29
development.md

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

Loading…
Cancel
Save