diff --git a/eiam-application/eiam-application-all/pom.xml b/eiam-application/eiam-application-all/pom.xml
index d8506ba8..4e225f97 100644
--- a/eiam-application/eiam-application-all/pom.xml
+++ b/eiam-application/eiam-application-all/pom.xml
@@ -27,7 +27,7 @@
1.1.0
../pom.xml
- pom
+ jar
4.0.0
eiam-application-all
diff --git a/eiam-authentication/eiam-authentication-all/pom.xml b/eiam-authentication/eiam-authentication-all/pom.xml
index ca50d39c..4c24118c 100644
--- a/eiam-authentication/eiam-authentication-all/pom.xml
+++ b/eiam-authentication/eiam-authentication-all/pom.xml
@@ -27,7 +27,7 @@
1.1.0
../pom.xml
- pom
+ jar
4.0.0
eiam-authentication-all
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 81b56ebe..3af37b89 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
@@ -1,8 +1,19 @@
/*
- * Copyright (c) 2022-Present. Jinan Yuanchuang Network Technology Co., Ltd.
- * All rights reserved.
- * 项目名称:TOPIAM 企业数字身份管控平台
- * 版权说明:本软件属济南源创网络科技有限公司所有,受著作权法和国际版权条约的保护。在未获得济南源创网络科技有限公司正式授权情况下,任何企业和个人,未经授权擅自复制、修改、分发本程序的全部或任何部分,将要承担一切由此导致的民事或刑事责任。
+ * eiam-common - Employee Identity and Access Management
+ * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
*/
package cn.topiam.employee.common.repository.app.impl;
@@ -51,11 +62,10 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized {
app.template,app.protocol,app.type,app.icon,app.initLoginUrl,app.authorizationType,app.enabled,LISTAGG(DISTINCT ass.groupId,","))
FROM
AppEntity app
- LEFT JOIN AppAccessPolicyEntity appAcce ON app.id = appAcce.appId
+ LEFT JOIN AppAccessPolicyEntity appAcce ON app.id = appAcce.appId AND appAcce.enabled = true
LEFT JOIN AppGroupAssociationEntity ass ON app.id = ass.app.id
WHERE
app.enabled = true
- AND appAcce.enabled = true
AND (appAcce.subjectId IN (:subjectIds) OR app.authorizationType = :type)
GROUP BY app.id
""";
diff --git a/eiam-identity-source/eiam-identity-source-all/pom.xml b/eiam-identity-source/eiam-identity-source-all/pom.xml
index 1edd4784..59858b5b 100644
--- a/eiam-identity-source/eiam-identity-source-all/pom.xml
+++ b/eiam-identity-source/eiam-identity-source-all/pom.xml
@@ -28,7 +28,7 @@
../pom.xml
4.0.0
- pom
+ jar
eiam-identity-source-all
diff --git a/eiam-protocol/eiam-protocol-all/pom.xml b/eiam-protocol/eiam-protocol-all/pom.xml
index ba863d20..1f50d040 100644
--- a/eiam-protocol/eiam-protocol-all/pom.xml
+++ b/eiam-protocol/eiam-protocol-all/pom.xml
@@ -30,7 +30,7 @@
4.0.0
eiam-protocol-all
- pom
+ jar
cn.topiam