|
@@ -50,6 +50,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.userId !=null ">
|
|
|
+ and o.supply_admin_id = #{param.userId}
|
|
|
+ </if>
|
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
</if>
|
|
@@ -77,6 +80,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.userId !=null ">
|
|
|
+ and o.repair_man_id = #{param.userId}
|
|
|
+ </if>
|
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
</if>
|
|
@@ -100,6 +106,9 @@
|
|
|
<foreach item="status" collection="param.statusList" open="(" separator="," close=")">
|
|
|
#{status}
|
|
|
</foreach>
|
|
|
+ <if test="param.userId !=null ">
|
|
|
+ and o.tester_id = #{param.userId}
|
|
|
+ </if>
|
|
|
<if test="param.repairId != null and param.repairId != ''">
|
|
|
and r.repair_id like concat ('%',#{param.repairId},'%')
|
|
|
</if>
|