教育训练处考试制证系统后端
zhangf
2024-07-24 790c2ba4a0b46edf191e3bac84931f796bd42b8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.gkhy.exam.institutionalaccess.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.exam.institutionalaccess.entity.ThBatchCourse;
import com.gkhy.exam.institutionalaccess.model.vo.ThBatchCourseVO;
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 ThBatchCourseMapper extends BaseMapper<ThBatchCourse> {
    void deleteByBatchUuidAndCourseUuid(@Param("list") List<ThBatchCourse> deleteBatchCourseList);
 
 
    List<ThBatchCourseVO> getListByBatchUuid(@Param("batchUuid")String batchUuid);
 
    void deleteByBatchUuid(@Param("batchUuid")String batchUuid);
 
    List<ThBatchCourse> getByBatchUuids(@Param("batchUuids") List<String> batchUuids);
 
    Integer insertBatch(@Param("courseList") List<ThBatchCourse> courseList);
 
    Integer updateBatch(@Param("courseList") List<ThBatchCourse> courseList);
}