1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- package com.keao.edu.user.dao;
- import com.keao.edu.common.dal.BaseDAO;
- import com.keao.edu.user.api.entity.ExamRoom;
- import com.keao.edu.user.dto.ExamRoomDto;
- import com.keao.edu.user.dto.ExamRoomExamTimeDto;
- import com.keao.edu.user.dto.ExamRoomListDto;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- import java.util.Map;
- public interface ExamRoomDao extends BaseDAO<Long, ExamRoom> {
- int batchInsert(@Param("examRooms") List<ExamRoom> examRooms);
- int batchUpdate(@Param("examRooms") List<ExamRoom> examRooms);
-
- int countExamRoomPage(Map<String, Object> params);
-
- List<ExamRoomListDto> queryExamRoomPage(Map<String, Object> params);
-
- List<ExamRoomDto> queryExamRoom(Map<String, Object> params);
- int countExamRoom(Map<String, Object> params);
-
- ExamRoomExamTimeDto getExamRoomExamTime(@Param("examId") Long examId);
-
- int batchDeleteExamRooms(@Param("examRoomIds") List<Long> examRoomIds);
-
-
- List<ExamRoom> getWithExam(@Param("organIds") List<Integer> organIds,
- @Param("examId") Long examId);
- int updateSL(ExamRoom examRoom);
- ExamRoom lockRoom(@Param("examRoomId") Long examRoomId);
-
- List<ExamRoom> getWithDays(@Param("days") List<String> days);
-
- List<ExamRoom> getWithExamAndSubject(@Param("examId") Long examId,
- @Param("subjectId") Integer subjectId);
- }
|