mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
bugfix
This commit is contained in:
@@ -2,7 +2,6 @@ package cn.lihongjie.coal.resource.repository;
|
||||
|
||||
import cn.lihongjie.coal.base.dao.BaseRepository;
|
||||
import cn.lihongjie.coal.resource.entity.ResourceEntity;
|
||||
import org.springframework.data.jpa.repository.EntityGraph;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
@@ -11,6 +10,6 @@ import java.util.List;
|
||||
public interface ResourceRepository extends BaseRepository<ResourceEntity> {
|
||||
|
||||
|
||||
@EntityGraph(attributePaths = {"children"})
|
||||
// @EntityGraph(attributePaths = {"children"})
|
||||
List<ResourceEntity> findAllByTypeAndParentIsNull(String type);
|
||||
}
|
||||
Reference in New Issue
Block a user