wangliang 4 gadi atpakaļ
vecāks
revīzija
8860a3d68e

+ 0 - 12
themis-business/src/main/java/com/qmth/themis/business/entity/TOeExamRecord.java

@@ -172,18 +172,6 @@ public class TOeExamRecord implements Serializable {
     @TableField(value = "score_status")
     private ScoreStatusEnum scoreStatus;
 
-    @ApiModelProperty(value = "异常状态")
-    @TableField(value = "exception_status")
-    private ExceptionEnum exceptionStatus;
-
-    public ExceptionEnum getExceptionStatus() {
-        return exceptionStatus;
-    }
-
-    public void setExceptionStatus(ExceptionEnum exceptionStatus) {
-        this.exceptionStatus = exceptionStatus;
-    }
-
     public ScoreStatusEnum getScoreStatus() {
         return scoreStatus;
     }

+ 0 - 1
themis-business/src/main/resources/db/init.sql

@@ -1471,7 +1471,6 @@ CREATE TABLE `t_oe_exam_record` (
   `monitor_status_source` varchar(30) DEFAULT NULL COMMENT '监控状态,stop:停止,start:正常',
   `monitor_live_url` varchar(100) DEFAULT NULL COMMENT '监控观看地址',
   `score_status` varchar(30) DEFAULT NULL COMMENT '算分状态,never:从未算分,calculating:正在算分,finish:算分完成',
-  `exception_status` varchar(30) DEFAULT NULL COMMENT '异常状态',
   PRIMARY KEY (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考试记录';
 

+ 0 - 6
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -131,12 +131,6 @@
             </if>
             <if test="status != null and status != ''">
                 <choose>
-                    <when test="status == EXCEPTION">
-                        and (t.exception_status is not null or t.status = 'BREAK_OFF')
-                    </when>
-                    <when test="status == PREPARE">
-                        and t.status = 'FIRST_PREPARE'
-                    </when>
                     <when test="status == EXAMING">
                         and (t.status = 'ANSWERING' or t.status = 'RESUME_PREPARE')
                     </when>

+ 0 - 2
themis-mq/src/main/java/com/qmth/themis/mq/service/impl/MqLogicServiceImpl.java

@@ -485,7 +485,6 @@ public class MqLogicServiceImpl implements MqLogicService {
                 objectMap.put("lastBreakTime", new Date());
                 objectMap.put("leftBreakResumeCount", leftBreakResumeCount);
                 objectMap.put("lastStartTime", new Date());
-                objectMap.put("exceptionStatus", exceptionEnum);
                 redisUtil.setForHash(RedisKeyHelper.examRecordCacheKey(recordId), objectMap);
                 UpdateWrapper<TOeExamRecord> tOeExamRecordUpdateWrapper = new UpdateWrapper<>();
                 tOeExamRecordUpdateWrapper.lambda().set(TOeExamRecord::getLastBreakId, tOeExamBreakHistory.getId())
@@ -493,7 +492,6 @@ public class MqLogicServiceImpl implements MqLogicService {
                         .set(TOeExamRecord::getLastBreakTime, objectMap.get("lastBreakTime"))
                         .set(TOeExamRecord::getLeftBreakResumeCount, leftBreakResumeCount)
                         .set(TOeExamRecord::getLastStartTime, objectMap.get("lastStartTime"))
-                        .set(TOeExamRecord::getExceptionStatus, exceptionEnum)
                         .eq(TOeExamRecord::getId, recordId);
                 examRecordService.update(tOeExamRecordUpdateWrapper);
                 teExamStudentLogService.saveStudentLogInfo(SystemOperationEnum.RESUME_PREPARE.name(), SystemOperationEnum.RESUME_PREPARE.getCode(), SystemOperationEnum.RESUME_PREPARE.getCode(), examStudentCacheBean.getStudentId(), examStudentId, recordId);