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