优化

pull/48/head
smallbun 2023-09-13 21:55:02 +08:00
parent aed55d4cdb
commit efff5b4613
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +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 AND app.is_deleted = 0");
StringBuilder builder = new StringBuilder("SELECT DISTINCT app.* FROM app LEFT JOIN app_group_association `group` ON app.id_ = `group`.app_id AND app.is_deleted = 0");
//应用名称
if (StringUtils.isNoneBlank(appQuery.getName())) {