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