From 4a9d681466f342b286ac244837b51db3d5b57272 Mon Sep 17 00:00:00 2001 From: Parker Date: Sun, 29 Nov 2020 22:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=97=E5=85=B8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modulars/system/dict/service/impl/DictDetailServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/dict/service/impl/DictDetailServiceImpl.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/dict/service/impl/DictDetailServiceImpl.java index 4f06baf..02d32b1 100644 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/dict/service/impl/DictDetailServiceImpl.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/dict/service/impl/DictDetailServiceImpl.java @@ -364,6 +364,7 @@ public class DictDetailServiceImpl extends CrudServiceImpl queryWrapper = queryBuilder.build(); queryWrapper.eq(key, typeCode); queryWrapper.eq(deleted, '0'); + queryWrapper.orderByAsc("sort_no"); List list = this.findList(queryWrapper); // 转化对象 return super.transformTs2Ms(list);