/*
* create by mybatis-plus-generator  https://github.com/xiweile
*/
package com.cirle.scientific.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.cirle.scientific.po.QkjColumnist;

@Repository
public interface QkjColumnistDao extends PagingAndSortingRepository<QkjColumnist, Long>, JpaSpecificationExecutor<QkjColumnist> {
	
	QkjColumnist findByMemCard(String memCard);
	
	@Query(value = "SELECT * FROM qkj_columnist WHERE status = 0", nativeQuery = true)
	List<QkjColumnist> findAllList();
}

