From 67df00264a264957a4a977d70acf020f41d58459 Mon Sep 17 00:00:00 2001 From: chenyongsheng712 Date: Thu, 10 Feb 2022 09:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E9=97=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=90=8E=E6=9C=AC=E5=9C=B0=E7=BC=93=E5=AD=98=E4=B8=8D?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98=20https://gitee.com/zhijia?= =?UTF-8?q?ntianya/ruoyi-vue-pro/issues/I4T22A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/service/dept/DeptServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java b/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java index 7b1baba80..6001f48c1 100644 --- a/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java +++ b/yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java @@ -112,7 +112,7 @@ public class DeptServiceImpl implements DeptService { if (maxUpdateTime == null) { // 如果更新时间为空,说明 DB 一定有新数据 log.info("[loadMenuIfUpdate][首次加载全量部门]"); } else { // 判断数据库中是否有更新的部门 - if (deptMapper.selectExistsByUpdateTimeAfter(maxUpdateTime) != null) { + if (deptMapper.selectExistsByUpdateTimeAfter(maxUpdateTime) == null) { return null; } log.info("[loadMenuIfUpdate][增量加载全量部门]");