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
package com.gkhy.exam.institutionalaccess.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.institutionalaccess.entity.ThBatchCourseChapter;
import com.gkhy.exam.institutionalaccess.entity.ThCourseChapter;
import org.springframework.scheduling.annotation.Async;
 
import java.util.List;
 
public interface ThBatchCourseChapterService extends IService<ThBatchCourseChapter> {
    void deleteByBatchUuid(String batchUuid);
 
    List<ThBatchCourseChapter> getByBatchUuid(String batchUuid);
 
    ThBatchCourseChapter getByUuid(String batchUuid, String courseUuid, String chapterUuid);
 
    List<ThBatchCourseChapter> getListByBatchUuids(List<String> batchUuids);
 
    //@Async("SocketTaskExecutor")
    Integer insertBatch(List<ThBatchCourseChapter> chapterList);
    //@Async("SocketTaskExecutor")
    Integer updateBatch(List<ThBatchCourseChapter> chapterList);
 
    List<ThBatchCourseChapter> getByChapterUuids(List<String> chapterUuids);
}