From 823f665727ece69c1f0b929040d3b1066878db7d Mon Sep 17 00:00:00 2001 From: adiao <1819192616@qq.com> Date: Wed, 24 May 2023 01:31:27 +0800 Subject: [PATCH] =?UTF-8?q?SSM=20=E6=9B=B4=E6=94=B9development=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- development.md | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/development.md b/development.md index 8fbfb4c..626747f 100644 --- a/development.md +++ b/development.md @@ -50,18 +50,20 @@ $2a$10$dG4MfJUtOVJLUse1p27kZe.qkgHxTNtDslSMMSTAV7ifncpGMngfW $2a$10$.BNlpDFkZQTbq9Pyjtxq7OsRaJ4j96Dr8lDTTeRh6BobA7vhFz/5W 【分别对应1~3个账号】 -Map items = new HashMap<>(); -List result = menus.stream().map(map -> new String[]{ -(String) map.get("name"), -(String) map.get("urlname"), -(String) map.get("url") -}).collect(Collectors.toList()); +```Java +Map items=new HashMap<>(); + Listresult=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 { @@ -237,4 +239,9 @@ System.out.println(items1); ..... } } -``` \ No newline at end of file +``` + +事务注解的属性: + +![](https://pic1.zhimg.com/v2-9408c0ee1a37b1301e8a9744e8341b30_r.jpg) +