From 9049b77f12ec8e41f533be100132ea71163af35e Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 31 八月 2023 16:44:29 +0800
Subject: [PATCH] 修改委托信息
---
sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java b/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java
index 4fbf344..8d1a317 100644
--- a/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java
+++ b/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java
@@ -39,12 +39,9 @@
@Autowired
private RoleManageMapper roleManageMapper;
- @Autowired
- private MenuMapper menuMapper;
-
@SneakyThrows
@Override
- public void run(String... args) throws Exception {
+ public void run(String... args){
log.info("瀹瑰櫒鐢熸垚涔嬪悗鎵ц");
List<Class<?>> classList = MyClassUtil.getClassList("com.yuanchu.limslaboratory.controller");
List<Map<String, String>> requestListInfo = new ArrayList<Map<String, String>>();
@@ -104,8 +101,9 @@
.noneMatch(value2 -> value2.equals(map1.get("url"))) // 鏌ユ壘涓嶅悓鐨勫��
).collect(Collectors.toList());
if(differentMaps.size()>0){
+
int insertInterfaceList = roleManageMapper.insertInterfaceList(differentMaps);
- if (insertInterfaceList>0) log.info("鏂板鎺ュ彛鎴愬姛锛�");
+ if (insertInterfaceList>0) log.info(String.valueOf(differentMaps));log.info("鏂板鎺ュ彛鎴愬姛锛�");
}else {
log.info("鏃犻渶澧炲姞鏂扮殑鎺ュ彛锛�");
}
--
Gitblit v1.9.3