|
@@ -11,7 +11,7 @@
|
|
|
left join t_repair_register rr on r.repair_id = rr.repair_id
|
|
|
left join t_customer c on r.repair_id = c.repair_id
|
|
|
left join t_customer_address cd on r.repair_id = cd.repair_id
|
|
|
- where r.rec_status = 'A' and r.status in
|
|
|
+ where r.rec_status = 'A' and rr.status = 0 and r.status in
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
@@ -46,7 +46,7 @@
|
|
|
left join t_order_receiving o on r.repair_id = o.repair_id
|
|
|
left join t_repair_register rr on r.repair_id = rr.repair_id
|
|
|
left join t_customer c on r.repair_id = c.repair_id
|
|
|
- where r.rec_status = 'A' and r.status in
|
|
|
+ where r.rec_status = 'A'and rr.status = 0 and r.status in
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
@@ -73,7 +73,7 @@
|
|
|
left join t_order_receiving o on r.repair_id = o.repair_id
|
|
|
left join t_repair_register rr on r.repair_id = rr.repair_id
|
|
|
left join t_customer c on r.repair_id = c.repair_id
|
|
|
- where r.rec_status = 'A' and r.status in
|
|
|
+ where r.rec_status = 'A' and rr.status = 0 and r.status in
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
@@ -96,7 +96,7 @@
|
|
|
left join t_order_receiving o on r.repair_id = o.repair_id
|
|
|
left join t_repair_register rr on r.repair_id = rr.repair_id
|
|
|
left join t_customer c on r.repair_id = c.repair_id
|
|
|
- where r.rec_status = 'A' and r.status in
|
|
|
+ where r.rec_status = 'A' and rr.status = 0 and r.status in
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
@@ -124,7 +124,7 @@
|
|
|
left join t_repair_register rr on r.repair_id = rr.repair_id
|
|
|
left join t_customer c on r.repair_id = c.repair_id
|
|
|
left join t_repair_pay rp on r.repair_id = rp.repair_id
|
|
|
- where r.rec_status = 'A'
|
|
|
+ where r.rec_status = 'A' and rr.status = 0
|
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
</if>
|