|
@@ -10,6 +10,7 @@ import org.springframework.data.repository.query.Param;
|
|
import org.springframework.data.repository.query.QueryByExampleExecutor;
|
|
import org.springframework.data.repository.query.QueryByExampleExecutor;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
+import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamSpecialSettingsEntity;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamSpecialSettingsEntity;
|
|
|
|
|
|
public interface ExamSpecialSettingsRepo
|
|
public interface ExamSpecialSettingsRepo
|
|
@@ -48,6 +49,6 @@ public interface ExamSpecialSettingsRepo
|
|
@Modifying
|
|
@Modifying
|
|
@Query("update ExamSpecialSettingsEntity set specialSettingsType = :specialSettingsType where examId = :examId")
|
|
@Query("update ExamSpecialSettingsEntity set specialSettingsType = :specialSettingsType where examId = :examId")
|
|
void updateSpecialSettingsTypeByExamId(@Param("examId") long examId,
|
|
void updateSpecialSettingsTypeByExamId(@Param("examId") long examId,
|
|
- @Param("specialSettingsType") String specialSettingsType);
|
|
|
|
|
|
+ @Param("specialSettingsType") ExamSpecialSettingsType specialSettingsType);
|
|
|
|
|
|
}
|
|
}
|