| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.gkhy.exam.institutionalaccess.entity.ThCourse; |
| | | import com.gkhy.exam.institutionalaccess.model.query.ThCourseQuery; |
| | | import com.gkhy.exam.institutionalaccess.model.resp.ThCourseRespDTO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface ThCourseService extends IService<ThCourse> { |
| | | List<ThCourse> listByPage(@Param("query") ThCourseQuery query); |
| | | List<ThCourseRespDTO> listByPage(@Param("query") ThCourseQuery query); |
| | | |
| | | ThCourse getByUuid(String uuid); |
| | | |
| | |
| | | |
| | | List<ThCourse> listByInstitutionId(Long institutionId); |
| | | |
| | | List<ThCourse> getByUuidList(List<String> courseUuids); |
| | | |
| | | //@Async("SocketTaskExecutor") |
| | | Integer insertBatch(List<ThCourse> courseList); |
| | | |
| | | //@Async("SocketTaskExecutor") |
| | | Integer updateBatch(List<ThCourse> courseList); |
| | | |
| | | List<ThCourse> getCourseNameByUuids(List<String> courseUuids); |
| | | } |