package com.ssj.dao.sys.orgclass;

import com.ssj.bean.sys.orgclass.VipBindClassTemp;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mount Liu
 * @date 2019/10/22
 */
@Repository
public interface VipBindClassTempDao extends JpaRepository<VipBindClassTemp, String> {
    
    Page<VipBindClassTemp> findAll(Specification<VipBindClassTemp> specification, Pageable page);

    List<VipBindClassTemp> findByStatusInOrStatusIsNull(List<String> status);

    List<VipBindClassTemp> findByStatusIn(List<String> status);
}
