lyhzzz 2 rokov pred
rodič
commit
0f5db10fcf

+ 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>