|
@@ -108,6 +108,9 @@
|
|
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'
|
|
|
|
+ <if test="param.status != null">
|
|
|
|
+ and r.status = #{param.status}
|
|
|
|
+ </if>
|
|
<if test="param.cameraType != null">
|
|
<if test="param.cameraType != null">
|
|
and r.camera_type = #{param.cameraType}
|
|
and r.camera_type = #{param.cameraType}
|
|
</if>
|
|
</if>
|