deason 6 gadi atpakaļ
vecāks
revīzija
278e1e6def

+ 1 - 5
src/main/java/cn/com/qmth/examcloud/app/service/NetExamService.java

@@ -78,7 +78,6 @@ public interface NetExamService {
      *
      * @param key
      * @param token
-     * @param examRecordId
      * @return
      * @throws Exception
      */
@@ -111,7 +110,6 @@ public interface NetExamService {
      *
      * @param key
      * @param token
-     * @param examRecordId
      * @return
      * @throws Exception
      */
@@ -133,7 +131,6 @@ public interface NetExamService {
      *
      * @param key
      * @param token
-     * @param examQuestionId
      * @param studentAnswer
      * @return
      * @throws Exception
@@ -145,7 +142,6 @@ public interface NetExamService {
      *
      * @param key
      * @param token
-     * @param examRecordId
      * @return
      * @throws Exception
      */
@@ -234,7 +230,6 @@ public interface NetExamService {
      *
      * @param key
      * @param token
-     * @param examId
      * @param examRecordDataId
      * @return
      * @throws Exception
@@ -251,4 +246,5 @@ public interface NetExamService {
      * @throws Exception
      */
     Result getExamRecordQuestions(String key, String token, Long examRecordDataId) throws Exception;
+
 }

+ 5 - 2
src/main/java/cn/com/qmth/examcloud/app/service/UserAuthService.java

@@ -19,6 +19,11 @@ import cn.com.qmth.examcloud.app.model.UserInfo;
  */
 public interface UserAuthService {
 
+    /**
+     * 检查某考生是否存在正在(在线考试类型)考试中
+     */
+    boolean isDoingExam(Long rootOrgId, String studentCode, String identityNumber, String phone);
+
     /**
      * 用户登录
      *
@@ -87,8 +92,6 @@ public interface UserAuthService {
     /**
      * 获取短信验证码
      *
-     * @param key
-     * @param token
      * @param phone
      * @return
      * @throws Exception

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/app/service/impl/NetExamServiceImpl.java

@@ -19,7 +19,6 @@ import okhttp3.FormBody;
 import okhttp3.MediaType;
 import okhttp3.MultipartBody;
 import okhttp3.RequestBody;
-
 import org.apache.commons.io.FilenameUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -233,4 +232,5 @@ public class NetExamServiceImpl implements NetExamService {
         }
         return result;
     }
+
 }

+ 5 - 0
src/main/java/cn/com/qmth/examcloud/app/service/impl/UserAuthServiceImpl.java

@@ -43,6 +43,11 @@ public class UserAuthServiceImpl implements UserAuthService {
     @Autowired
     private RedisService redisService;
 
+    @Override
+    public boolean isDoingExam(Long rootOrgId, String studentCode, String identityNumber, String phone) {
+        return false;
+    }
+
     @Override
     public Result<UserInfo> login(LoginInfo loginInfo) throws Exception {
         Assert.notNull(loginInfo, "LoginInfo must be not null.");