zengh
2021-07-18 c2578d7a5d7a566d288f6d105754846a42eef892
src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml
@@ -72,4 +72,18 @@
        </if>
    </select>
    <!--自定义树-->
    <select id="selectExamPaperPageTree" resultType="org.springblade.modules.exam.entity.ExamPaper">
        select id,exam_name examName from ksxt_exam
        where
        1=1
        <if test="paper.examName!=null and paper.examName!=''">
            and exam_name like concat('%', #{paper.examName},'%')
        </if>
    </select>
    <delete id="UnbindSubject">
       delete from exam_examination_subject where examination_id = #{paperid} and subject_id = #{subjectid}
    </delete>
</mapper>