|
@@ -130,8 +130,12 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
|
|
|
- <if test="query.examNumber != null and query.examNumber !=''">
|
|
|
- and t.exam_number=#{query.examNumber}
|
|
|
+ <if test="query.examNumber != null and query.examNumber.size>0">
|
|
|
+ and t.exam_number in
|
|
|
+ <foreach collection="query.examNumber" index="index" item="en"
|
|
|
+ open="(" separator="," close=")">
|
|
|
+ #{en}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="query.name != null and query.name !=''">
|
|
|
and t.name=#{query.name}
|
|
@@ -424,12 +428,8 @@
|
|
|
<if test="query.examStatus != null">
|
|
|
and t.exam_status=#{query.examStatus}
|
|
|
</if>
|
|
|
- <if test="query.examNumber != null and query.examNumber.size>0">
|
|
|
- and t.exam_number in
|
|
|
- <foreach collection="query.examNumber" index="index" item="en"
|
|
|
- open="(" separator="," close=")">
|
|
|
- #{en}
|
|
|
- </foreach>
|
|
|
+ <if test="query.examNumber != null and query.examNumber !=''">
|
|
|
+ and t.exam_number =#{query.examNumber}
|
|
|
</if>
|
|
|
<if test="query.name != null and query.name !=''">
|
|
|
and t.name=#{query.name}
|