mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-01 18:35:37 +08:00
修复递归
This commit is contained in:
@@ -78,12 +78,6 @@ public class SimpleDistrictService extends AbstractTreeSortService<DistrictEntit
|
||||
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
|
||||
@CacheEvict(allEntries = true)
|
||||
public int updateBatch(Collection<DistrictEntity> data) {
|
||||
@@ -93,7 +87,7 @@ public class SimpleDistrictService extends AbstractTreeSortService<DistrictEntit
|
||||
@Override
|
||||
@Cacheable(key = "'all'")
|
||||
public List<DistrictEntity> select() {
|
||||
return super.select();
|
||||
return createQuery().where().orderByAsc(DistrictEntity.sortIndex).listNoPaging();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user