From 5cd5513f2e2d86835e18591d12b1ed7629ac1722 Mon Sep 17 00:00:00 2001 From: shao1121353141 <> Date: Mon, 25 Sep 2023 19:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/repository/app/impl/AppRepositoryCustomizedImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppRepositoryCustomizedImpl.java b/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppRepositoryCustomizedImpl.java index 46b24d81..dcf78380 100644 --- a/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppRepositoryCustomizedImpl.java +++ b/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppRepositoryCustomizedImpl.java @@ -93,7 +93,7 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized { builder.append(" AND app.name_ like '%").append(name).append("%'"); } //分组id - if (null!=groupId) { + if (Objects.nonNull(groupId)) { builder.append(" AND ass.group_id = ").append(groupId); } //@formatter:on