| | |
| | | </if> |
| | | </select> |
| | | |
| | | <!--查询试卷绑定的题目--> |
| | | <select id="getEexPaperChoices" resultType="org.springblade.modules.exam.vo.ExamSubjectChoicesVO"> |
| | | SELECT |
| | | esc.* |
| | | FROM |
| | | exam_subject_choices esc |
| | | LEFT JOIN exam_examination_subject exa ON esc.id = exa.subject_id |
| | | WHERE |
| | | 1=1 |
| | | <if test="examSubjectChoices.id!=null and examSubjectChoices.id!=''"> |
| | | and exa.examination_id = #{examSubjectChoices.id} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | <!--ExamSubjectChoicesInfoMap 多表联查 一对多查询 --> |
| | | <resultMap id="ExamSubjectChoicesInfoMap" type="org.springblade.modules.exam.vo.ExamSubjectChoicesVO"> |