mirror of https://gitee.com/topiam/eiam
⚡ 优化
parent
d0cf4d3fb3
commit
cd9472e172
|
@ -119,13 +119,7 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized {
|
||||||
*/
|
*/
|
||||||
public Page<AppEntity> getAppList(AppQuery appQuery, Pageable pageable) {
|
public Page<AppEntity> getAppList(AppQuery appQuery, Pageable pageable) {
|
||||||
//@formatter:off
|
//@formatter:off
|
||||||
StringBuilder builder = new StringBuilder("""
|
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");
|
||||||
SELECT DISTINCT
|
|
||||||
app.*
|
|
||||||
FROM
|
|
||||||
app
|
|
||||||
INNER JOIN app_group_association `group` ON app.id_ = `group`.app_id
|
|
||||||
""");
|
|
||||||
|
|
||||||
//应用名称
|
//应用名称
|
||||||
if (StringUtils.isNoneBlank(appQuery.getName())) {
|
if (StringUtils.isNoneBlank(appQuery.getName())) {
|
||||||
|
|
Loading…
Reference in New Issue