fix: 修复maven install问题

pull/85/head
xiuchen 2024-05-14 12:00:04 +08:00
parent 8489e9d3e7
commit 3c6b0591e4
5 changed files with 20 additions and 10 deletions

View File

@ -27,7 +27,7 @@
<version>1.1.0</version> <version>1.1.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>pom</packaging> <packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>eiam-application-all</artifactId> <artifactId>eiam-application-all</artifactId>

View File

@ -27,7 +27,7 @@
<version>1.1.0</version> <version>1.1.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<packaging>pom</packaging> <packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>eiam-authentication-all</artifactId> <artifactId>eiam-authentication-all</artifactId>

View File

@ -1,8 +1,19 @@
/* /*
* Copyright (c) 2022-Present. Jinan Yuanchuang Network Technology Co., Ltd. * eiam-common - Employee Identity and Access Management
* All rights reserved. * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn)
* TOPIAM *
* * 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 <http://www.gnu.org/licenses/>.
*/ */
package cn.topiam.employee.common.repository.app.impl; 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,",")) app.template,app.protocol,app.type,app.icon,app.initLoginUrl,app.authorizationType,app.enabled,LISTAGG(DISTINCT ass.groupId,","))
FROM FROM
AppEntity app 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 LEFT JOIN AppGroupAssociationEntity ass ON app.id = ass.app.id
WHERE WHERE
app.enabled = true app.enabled = true
AND appAcce.enabled = true
AND (appAcce.subjectId IN (:subjectIds) OR app.authorizationType = :type) AND (appAcce.subjectId IN (:subjectIds) OR app.authorizationType = :type)
GROUP BY app.id GROUP BY app.id
"""; """;

View File

@ -28,7 +28,7 @@
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging> <packaging>jar</packaging>
<artifactId>eiam-identity-source-all</artifactId> <artifactId>eiam-identity-source-all</artifactId>
<dependencies> <dependencies>

View File

@ -30,7 +30,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>eiam-protocol-all</artifactId> <artifactId>eiam-protocol-all</artifactId>
<packaging>pom</packaging> <packaging>jar</packaging>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cn.topiam</groupId> <groupId>cn.topiam</groupId>