Merge remote-tracking branch 'origin/master'

# Conflicts:
#	eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppRepositoryCustomizedImpl.java
pull/48/head
shao1121353141 2023-09-13 20:41:35 +08:00
commit 24555d22cd
1 changed files with 1 additions and 7 deletions

View File

@ -119,13 +119,7 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized {
*/
public Page<AppEntity> getAppList(AppQuery appQuery, Pageable pageable) {
//@formatter:off
StringBuilder builder = new StringBuilder("""
SELECT DISTINCT
app.*
FROM
app
INNER JOIN app_group_association `group` ON app.id_ = `group`.app_id
""");
StringBuilder builder = new StringBuilder("SELECT DISTINCT app.* FROM app INNER JOIN app_group_association `group` ON app.id_ = `group`.app_id AND app.is_deleted = 0");
//应用名称
if (StringUtils.isNoneBlank(appQuery.getName())) {