|
@@ -47,6 +47,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.repairId != null and param.repairId != ''">
|
|
|
+ and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
+ </if>
|
|
|
<if test="param.cameraType != null">
|
|
|
and r.camera_type = #{param.cameraType}
|
|
|
</if>
|
|
@@ -71,6 +74,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.repairId != null and param.repairId != ''">
|
|
|
+ and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
+ </if>
|
|
|
<if test="param.cameraType != null">
|
|
|
and r.camera_type = #{param.cameraType}
|
|
|
</if>
|
|
@@ -91,6 +97,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.repairId != null and param.repairId != ''">
|
|
|
+ and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
+ </if>
|
|
|
<if test="param.cameraType != null">
|
|
|
and r.camera_type = #{param.cameraType}
|
|
|
</if>
|
|
@@ -113,6 +122,9 @@
|
|
|
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'
|
|
|
+ <if test="param.repairId != null and param.repairId != ''">
|
|
|
+ and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
+ </if>
|
|
|
<if test="param.status != null">
|
|
|
and r.status = #{param.status}
|
|
|
</if>
|