package com.gkhy.exam.institutionalaccess.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.gkhy.exam.institutionalaccess.entity.ThCourseChapter;
|
import com.gkhy.exam.institutionalaccess.model.vo.ThCourseChapterVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Repository
|
@Mapper
|
public interface ThCourseChapterMapper extends BaseMapper<ThCourseChapter> {
|
List<ThCourseChapterVO> listByCourseUuids(@Param("courseUuids") List<String> courseUuids);
|
|
List<ThCourseChapterVO> listByCourseUuid(@Param("courseUuid")String courseUuid);
|
|
List<ThCourseChapter> getByUuids(@Param("chapterUuids") List<String> chapterUuids);
|
|
Integer insertBatch(@Param("courseChapterList")List<ThCourseChapter> courseChapterList);
|
Integer updateBatch(@Param("courseChapterList")List<ThCourseChapter> courseChapterList);
|
|
List<ThCourseChapter> getChapterNameByUuids(@Param("chapterUuids")List<String> chapterUuids);
|
}
|