src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml
@@ -122,6 +122,9 @@ <if test="paper.examName!=null and paper.examName!=''"> and exam_name like concat('%', #{paper.examName},'%') </if> <if test="paper.examType!=null"> and exam_type = #{paper.examType} </if> </select> <delete id="UnbindSubject"> @@ -145,7 +148,9 @@ on bu.id = sa.user_id where sa.user_id = #{userId} and is_exam = 1) and is_exam = 1 and sa.apply_status = 2 ) union all @@ -164,7 +169,9 @@ on bu.id = str.user_id where str.user_id = #{userId} and is_exam = 1) and is_exam = 1 and str.cancel = 3 ) </select> </mapper>