lyhzzz пре 2 година
родитељ
комит
0f5db10fcf
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/main/resources/mapper/sale/RepairMapper.xml

+ 3 - 0
src/main/resources/mapper/sale/RepairMapper.xml

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