教育训练处考试制证系统后端
zhangf
2024-07-24 790c2ba4a0b46edf191e3bac84931f796bd42b8f
exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThCourseMapper.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.exam.institutionalaccess.entity.ThCourse;
import com.gkhy.exam.institutionalaccess.model.query.ThCourseQuery;
import com.gkhy.exam.institutionalaccess.model.resp.ThCourseRespDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@@ -12,5 +13,13 @@
@Repository
@Mapper
public interface ThCourseMapper extends BaseMapper<ThCourse> {
    List<ThCourse> listByPage(@Param("query") ThCourseQuery query);
    List<ThCourseRespDTO> listByPage(@Param("query") ThCourseQuery query);
    List<ThCourse> getByUuidList(@Param("courseUuids") List<String> courseUuids);
    Integer insertBatch(@Param("courseList") List<ThCourse> courseList);
    Integer updateBatch(@Param("courseList") List<ThCourse> courseList);
    List<ThCourse> getCourseNameByUuids(@Param("courseUuids")List<String> courseUuids);
}