|
|
@ -20,8 +20,6 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @website https://el-admin.vip
|
|
|
|
* @website https://el-admin.vip
|
|
|
|
* @author x
|
|
|
|
* @author x
|
|
|
@ -30,11 +28,6 @@ import java.util.List;
|
|
|
|
@Repository
|
|
|
|
@Repository
|
|
|
|
public interface TaskRecordRepository extends JpaRepository<TaskRecord, Integer>, JpaSpecificationExecutor<TaskRecord> {
|
|
|
|
public interface TaskRecordRepository extends JpaRepository<TaskRecord, Integer>, JpaSpecificationExecutor<TaskRecord> {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 查找所有一级父类
|
|
|
|
|
|
|
|
* @param parentId
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
List<TaskRecord> findByParentId(Long parentId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|