zhangf
2024-07-24 790c2ba4a0b46edf191e3bac84931f796bd42b8f
exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchCourseService.java
@@ -3,24 +3,29 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.institutionalaccess.entity.ThBatchCourse;
import com.gkhy.exam.institutionalaccess.entity.ThStudentCourse;
import com.gkhy.exam.institutionalaccess.model.vo.ThBatchCourseVO;
import com.gkhy.exam.institutionalaccess.model.vo.ThBatchVO;
import org.springframework.scheduling.annotation.Async;
import java.util.List;
public interface ThBatchCourseService extends IService<ThBatchCourse> {
    List<ThBatchCourse> getByBatchUuid(String uuid);
    List<ThBatchCourse> getByBatchUuid(String batchUuid);
    List<String> getCourseUuisByBatchUuid(String batchUuid);
    void deleteByBatchUuidAndCourseUuid(List<ThBatchCourse> deleteBatchCourseList);
    List<ThBatchCourseVO> getListByBatchUuids(List<String> batchUuids);
    List<ThBatchCourse> getListByBatchUuids(List<String> batchUuids);
    List<ThBatchCourseVO> getListByBatchUuid(String batchUuid);
    boolean isExsit(String courseUuid);
    List<ThBatchCourse> listByInstitutionId(Long InstitutionId);
    void deleteByBatchUuid(String batchUuid);
    //@Async("SocketTaskExecutor")
    Integer insertBatch(List<ThBatchCourse> courseList);
    //@Async("SocketTaskExecutor")
    Integer updateBatch(List<ThBatchCourse> courseList);
}