From 6cd215389e72e5c12be9e5ee124b470b9d620f4d Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期三, 30 八月 2023 10:09:30 +0800 Subject: [PATCH] 修改委托单位 --- sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java | 6 ++---- 1 files changed, 2 insertions(+), 4 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..5a2b1ef 100644 --- a/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java +++ b/sys/src/main/java/com/yuanchu/limslaboratory/commandLineRunner/ResolutionRequestsCommandLineRunner.java @@ -39,9 +39,6 @@ @Autowired private RoleManageMapper roleManageMapper; - @Autowired - private MenuMapper menuMapper; - @SneakyThrows @Override public void run(String... args) throws Exception { @@ -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