package com.ssj.dao.kmt.kmt.dao;

import com.ssj.bean.kmt.kmt.domain.KmtExerciseBookLib;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author yanghuan
 * @title: KmtExerciseBookLibDao
 * @projectName ssj
 * @description: TODO
 * @date 2020/4/14 17:19
 */
public interface KmtExerciseBookLibDao extends JpaRepository<KmtExerciseBookLib, String> {

    List<KmtExerciseBookLib> findByLibIdAndIsDelete(String libId, int isDelete);

    List<KmtExerciseBookLib> findByExerciseBookIdAndIsDelete(String exerciseBookId, int isDelete);
}
