From 5142e2d66827b56b5a33b7b9945a936279085d3f Mon Sep 17 00:00:00 2001 From: RuoYi Date: Wed, 11 May 2022 09:55:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7oshi=E5=88=B0=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC6.1.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 15 +-------------- .../templates/monitor/server/server.html | 2 +- .../system/service/impl/SysDeptServiceImpl.java | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index b5a30451..57c1ff10 100644 --- a/pom.xml +++ b/pom.xml @@ -26,8 +26,7 @@ 2.2.2 1.4.1 1.2.80 - 6.1.2 - 5.10.0 + 6.1.6 2.11.0 1.4 4.1.2 @@ -117,18 +116,6 @@ ${oshi.version} - - net.java.dev.jna - jna - ${jna.version} - - - - net.java.dev.jna - jna-platform - ${jna.version} - - io.springfox diff --git a/ruoyi-admin/src/main/resources/templates/monitor/server/server.html b/ruoyi-admin/src/main/resources/templates/monitor/server/server.html index f16c45e7..8730037f 100644 --- a/ruoyi-admin/src/main/resources/templates/monitor/server/server.html +++ b/ruoyi-admin/src/main/resources/templates/monitor/server/server.html @@ -152,7 +152,7 @@
- +
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java index 932ed469..05a6eb6c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java @@ -176,7 +176,7 @@ public class SysDeptServiceImpl implements ISysDeptService public boolean checkDeptExistUser(Long deptId) { int result = deptMapper.checkDeptExistUser(deptId); - return result > 0 ? true : false; + return result > 0; } /**
Java名称