package com.gkhy.exam.institutionalaccess.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.gkhy.exam.institutionalaccess.entity.ThBatchCourseChapter;
|
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 ThBatchCourseChapterMapper extends BaseMapper<ThBatchCourseChapter> {
|
void deleteByBatchUuid(@Param("batchUuid") String batchUuid);
|
|
List<ThBatchCourseChapter> getByBatchUuids(@Param("batchUuids")List<String> batchUuids);
|
Integer insertBatch(@Param("batchCourseChapterList") List<ThBatchCourseChapter> batchCourseChapterList);
|
Integer updateBatch(@Param("batchCourseChapterList") List<ThBatchCourseChapter> batchCourseChapterList);
|
|
List<ThBatchCourseChapter> getByChapterUuids(@Param("chapterUuids") List<String> chapterUuids);
|
}
|