From 6ab9891d28c57fa9d7bb469fc5d0d18366a9b65c Mon Sep 17 00:00:00 2001 From: smallbun <2689170096@qq.com> Date: Wed, 13 Sep 2023 22:03:11 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repository/app/impl/AppRepositoryCustomizedImpl.java | 2 +- .../employee/console/pojo/update/app/AppUpdateParam.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 af8aefd6..bd6e5bc5 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 @@ -119,7 +119,7 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized { */ public Page getAppList(AppQuery appQuery, Pageable pageable) { //@formatter:off - StringBuilder builder = new StringBuilder("SELECT * FROM( SELECT app.* FROM app LEFT JOIN app_group_association `group` ON app.id_ = `group`.app_id) app WHERE app.is_deleted = 0"); + StringBuilder builder = new StringBuilder("SELECT app.* FROM app LEFT JOIN app_group_association `group` ON app.id_ = `group`.app_id WHERE app.is_deleted=0"); //应用名称 if (StringUtils.isNoneBlank(appQuery.getName())) { diff --git a/eiam-console/src/main/java/cn/topiam/employee/console/pojo/update/app/AppUpdateParam.java b/eiam-console/src/main/java/cn/topiam/employee/console/pojo/update/app/AppUpdateParam.java index 6d581f77..e3af67dc 100644 --- a/eiam-console/src/main/java/cn/topiam/employee/console/pojo/update/app/AppUpdateParam.java +++ b/eiam-console/src/main/java/cn/topiam/employee/console/pojo/update/app/AppUpdateParam.java @@ -40,25 +40,25 @@ public class AppUpdateParam implements Serializable { */ @Schema(description = "应用id") @NotNull(message = "ID不能为空") - private Long id; + private Long id; /** * 应用名称 */ @Schema(description = "应用名称") - private String name; + private String name; /** * 应用图标 */ @Schema(description = "应用图标") - private String icon; + private String icon; /** * 备注 */ @Schema(description = "备注") - private String remark; + private String remark; /** * 应用分组id