|
@@ -133,13 +133,13 @@
|
|
|
AND er.card_no_ = #{cardNo}
|
|
|
</if>
|
|
|
<if test="studentName!=null and studentName!=''">
|
|
|
- AND su.real_name_ LIKE CONCAT(#{studentName}, '%')
|
|
|
+ AND su.real_name_ LIKE CONCAT('%', #{studentName}, '%')
|
|
|
</if>
|
|
|
<if test="studentId != null">
|
|
|
AND su.id_ = #{studentId}
|
|
|
</if>
|
|
|
<if test="examName!=null and examName!=''">
|
|
|
- AND eb.name_ LIKE CONCAT(#{examName}, '%')
|
|
|
+ AND eb.name_ LIKE CONCAT('%', #{examName}, '%')
|
|
|
</if>
|
|
|
<if test="subjectId!=null">
|
|
|
AND er.subject_id_=#{subjectId}
|