package com.cirle.scientific.dao;/*
 *24901
 *2022/12/21
 *17:43
 */

import com.cirle.scientific.po.QkjQuestionnaireApp;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * @author 24901
 */
public interface QkjQuestionnaireAppDao extends PagingAndSortingRepository<QkjQuestionnaireApp, Long>, JpaSpecificationExecutor<QkjQuestionnaireApp> {

    @Query(value = "select * from qkj_questionnaire_app where status = 0" , nativeQuery = true)
    List<QkjQuestionnaireApp> selectAll();

}
