考试安排SQL[selectExamSchedule]代码修改

main
hujunpeng 4 months ago
parent 121a92741a
commit c9e95ddbdb
  1. 4
      ccic-exam/src/main/resources/mappers/ExamScheduleMapper.xml

@ -27,10 +27,10 @@
info.is_deleted = 0 info.is_deleted = 0
and paper.is_deleted = 0 and paper.is_deleted = 0
<if test="examName != null and examName != ''"> <if test="examName != null and examName != ''">
AND info.exam_name LIKE '%' + #{examName} + '%' AND info.exam_name LIKE '%' || #{examName} || '%'
</if> </if>
<if test="paperName != null and paperName != ''"> <if test="paperName != null and paperName != ''">
AND paper.paper_name LIKE '%' + #{paperName} + '%' AND paper.paper_name LIKE '%' || #{paperName} || '%'
</if> </if>
<if test="regulatedIndustry != null and regulatedIndustry != ''"> <if test="regulatedIndustry != null and regulatedIndustry != ''">
AND ind.industry_id = #{regulatedIndustry} AND ind.industry_id = #{regulatedIndustry}

Loading…
Cancel
Save