|
@@ -187,7 +187,7 @@
|
|
left join t_repair_register rr on r.repair_id = rr.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
|
|
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
|
|
left join t_repair_pay rp on r.repair_id = rp.repair_id
|
|
- where r.rec_status = 'A'
|
|
|
|
|
|
+ where r.rec_status = 'A' and r.invoice_status !=2
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
</if>
|
|
</if>
|