| | |
| | | <if test="examSubjectChoices.subjectName!=null and examSubjectChoices.subjectName!=''"> |
| | | and esc.subject_name like concat('%', #{examSubjectChoices.subjectName},'%') |
| | | </if> |
| | | <if test="examSubjectChoices.choicesType!=null and examSubjectChoices.choicesType!=''"> |
| | | <if test="examSubjectChoices.choicesType!=null"> |
| | | and choices_type = #{examSubjectChoices.choicesType} |
| | | </if> |
| | | order by id desc |
| | | </select> |
| | | |
| | | <!--查询试卷绑定的题目--> |
| | |
| | | <if test="examSubjectChoices.subjectName!=null and examSubjectChoices.subjectName!=''"> |
| | | and esc.subject_name like concat('%', #{examSubjectChoices.subjectName},'%') |
| | | </if> |
| | | <if test="examSubjectChoices.choicesType!=null and examSubjectChoices.choicesType!=''"> |
| | | and esc.choices_type = #{examSubjectChoices.choices_type} |
| | | <if test="examSubjectChoices.choicesType!=null"> |
| | | and esc.choices_type = #{examSubjectChoices.choicesType} |
| | | </if> |
| | | </select> |
| | | |