| | |
| | | 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; |
| | |
| | | @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); |
| | | } |