package com.ssj.service.mapper;

import com.ssj.service.conch.parents.dto.GetPeiyouBookUnitDto;
import com.ssj.service.conch.parents.dto.GetSecondUnitInfoDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SSJPeiyouBookMapper {

    List<GetPeiyouBookUnitDto> findUnitBySelective(@Param(value = "grade") String grade,@Param(value = "courseName") String courseName,@Param(value = "bookName") String bookName);

    List<GetSecondUnitInfoDto> findSecondUnitBySelective(@Param(value = "grade") String grade,@Param(value = "courseName") String courseName,
                                                         @Param(value = "bookName") String bookName,@Param(value = "unit") String unit);
}
