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
28
package com.gkhy.exam.institutionalaccess.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.institutionalaccess.entity.ThCourseChapter;
import com.gkhy.exam.institutionalaccess.model.vo.ThCourseChapterVO;
import com.gkhy.exam.institutionalaccess.model.vo.ThStatisticStudentVO;
import org.springframework.scheduling.annotation.Async;
 
import java.util.List;
 
public interface ThCourseChapterService extends IService<ThCourseChapter> {
    List<ThCourseChapterVO> listByCourseUuids(List<String> courseIds);
 
    List<ThCourseChapterVO> listByCourseUuid(String courseUuid);
 
    List<ThCourseChapter> listByInstitutionId(Long institutionId);
 
    ThCourseChapter getByUuid(String batchUuid);
 
    List<ThCourseChapter> getByUuids(List<String> reqAllChapterIds);
 
    //@Async("SocketTaskExecutor")
    Integer insertBatch(List<ThCourseChapter> courseChapterList);
    //@Async("SocketTaskExecutor")
    Integer updateBatch(List<ThCourseChapter> courseChapterList);
 
    List<ThCourseChapter> getChapterNameByUuids(List<String> chapterUuids);
}