|
@@ -9,17 +9,19 @@ import org.springframework.data.jpa.repository.Query;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamOrgTime;
|
|
|
-import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamStudent;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
-public interface ExamOrgTimeRepo extends JpaRepository<ExamOrgTime, Long>, JpaSpecificationExecutor<ExamOrgTime> {
|
|
|
+public interface ExamOrgTimeRepo
|
|
|
+ extends
|
|
|
+ JpaRepository<ExamOrgTime, Long>,
|
|
|
+ JpaSpecificationExecutor<ExamOrgTime> {
|
|
|
|
|
|
List<ExamOrgTime> findByExamId(Long examId);
|
|
|
|
|
|
Page<ExamOrgTime> findByExamId(Long examId, Pageable pageable);
|
|
|
|
|
|
- ExamOrgTime findFirstByExamIdAndOrgId(Long examId,Long orgId);
|
|
|
+ ExamOrgTime findFirstByExamIdAndOrgId(Long examId, Long orgId);
|
|
|
|
|
|
@Transactional
|
|
|
@Modifying
|