|
@@ -78,12 +78,6 @@ public class SimpleDistrictService extends AbstractTreeSortService<DistrictEntit
|
|
return createQuery().where(DistrictEntity.code, code).single();
|
|
return createQuery().where(DistrictEntity.code, code).single();
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- @Cacheable(key = "'all'")
|
|
|
|
- public List<DistrictEntity> select(Entity param) {
|
|
|
|
- return createQuery().where().orderByAsc(DistrictEntity.sortIndex).listNoPaging();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
@Override
|
|
@Override
|
|
@CacheEvict(allEntries = true)
|
|
@CacheEvict(allEntries = true)
|
|
public int updateBatch(Collection<DistrictEntity> data) {
|
|
public int updateBatch(Collection<DistrictEntity> data) {
|
|
@@ -93,7 +87,7 @@ public class SimpleDistrictService extends AbstractTreeSortService<DistrictEntit
|
|
@Override
|
|
@Override
|
|
@Cacheable(key = "'all'")
|
|
@Cacheable(key = "'all'")
|
|
public List<DistrictEntity> select() {
|
|
public List<DistrictEntity> select() {
|
|
- return super.select();
|
|
|
|
|
|
+ return createQuery().where().orderByAsc(DistrictEntity.sortIndex).listNoPaging();
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|