| | |
| | | /** |
| | | * 考试类型 0:正式考试 1: 模拟考试 2:在线联系 3:调查问卷 |
| | | */ |
| | | @TableField("exam_type") |
| | | private Integer examType; |
| | | // @TableField("exam_type") |
| | | // private Integer examType; |
| | | |
| | | |
| | | /** |
| | |
| | | <if test="examScore.securityName!=null and examScore.securityName!=''"> |
| | | and security_name like concat('%', #{examScore.securityName},'%') |
| | | </if> |
| | | <if test="examScore.examType!=null"> |
| | | and exam_type = #{examScore.examType} |
| | | </if> |
| | | <!-- <if test="examScore.examType!=null">--> |
| | | <!-- and exam_type = #{examScore.examType}--> |
| | | <!-- </if>--> |
| | | </select> |
| | | |
| | | <!--考试成绩详情信息--> |
| | |
| | | if (examResultVO.getSubjectChoicesId().equals(examExaminationSubject.getExamSubjectChoices().getId())) { |
| | | //对比答案 |
| | | |
| | | if (examExaminationSubject.getExamSubjectChoices().getChoicesType() == 2){ |
| | | if (examExaminationSubject.getExamSubjectChoices().getChoicesType() == 2 || examExaminationSubject.getExamSubjectChoices().getChoicesType() == 3){ |
| | | //判断题逻辑 |
| | | if (examResultVO.getValue().equals(examExaminationSubject.getExamSubjectChoices().getAnswer())) { |
| | | theoryGrade += examResultVO.getGrade(); |