From 660fa42f1442565a5de1b0260bafef95c30dd960 Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Mon, 6 Nov 2017 14:55:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=92=E5=BD=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organizational/simple/SimpleDistrictService.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimpleDistrictService.java b/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimpleDistrictService.java index 429c19424..64cee8fb1 100644 --- a/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimpleDistrictService.java +++ b/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimpleDistrictService.java @@ -78,12 +78,6 @@ public class SimpleDistrictService extends AbstractTreeSortService select(Entity param) { - return createQuery().where().orderByAsc(DistrictEntity.sortIndex).listNoPaging(); - } - @Override @CacheEvict(allEntries = true) public int updateBatch(Collection data) { @@ -93,7 +87,7 @@ public class SimpleDistrictService extends AbstractTreeSortService select() { - return super.select(); + return createQuery().where().orderByAsc(DistrictEntity.sortIndex).listNoPaging(); } @Override