|
@@ -65,7 +65,7 @@
|
|
LEFT JOIN
|
|
LEFT JOIN
|
|
exam_detail b ON a.exam_detail_id = b.id
|
|
exam_detail b ON a.exam_detail_id = b.id
|
|
<where>
|
|
<where>
|
|
- <if test="printPlanIdList.size() > 0">
|
|
|
|
|
|
+ <if test="printPlanIdList != null and printPlanIdList.size() > 0">
|
|
and b.print_plan_id IN
|
|
and b.print_plan_id IN
|
|
<foreach collection="printPlanIdList" item="item" index="index" open="(" separator="," close=")">
|
|
<foreach collection="printPlanIdList" item="item" index="index" open="(" separator="," close=")">
|
|
#{item}
|
|
#{item}
|
|
@@ -86,7 +86,7 @@
|
|
LEFT JOIN
|
|
LEFT JOIN
|
|
exam_detail b ON a.exam_detail_id = b.id
|
|
exam_detail b ON a.exam_detail_id = b.id
|
|
<where>
|
|
<where>
|
|
- <if test="printPlanIdList.size() > 0">
|
|
|
|
|
|
+ <if test="printPlanIdList != null and printPlanIdList.size() > 0">
|
|
and b.print_plan_id IN
|
|
and b.print_plan_id IN
|
|
<foreach collection="printPlanIdList" item="item" index="index" open="(" separator="," close=")">
|
|
<foreach collection="printPlanIdList" item="item" index="index" open="(" separator="," close=")">
|
|
#{item}
|
|
#{item}
|