考试统计

main
sunhonglei 4 months ago
parent b9a36ce057
commit d5e75708a9
  1. 6
      ccic-exam/src/main/resources/mappers/ExamStatisticsMapper.xml

@ -241,10 +241,10 @@
WHERE WHERE
scores.is_deleted = 0 scores.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="industry != null and industry != ''"> <if test="industry != null and industry != ''">
AND ind.industry_id = #{industry} AND ind.industry_id = #{industry}
@ -369,7 +369,7 @@
WHERE WHERE
paper.is_deleted = 0 paper.is_deleted = 0
<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="industry != null and industry != ''"> <if test="industry != null and industry != ''">
AND ind.industry_id = #{industry} AND ind.industry_id = #{industry}

Loading…
Cancel
Save