lyhzzz 2 jaren geleden
bovenliggende
commit
d30557d9f0
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      src/main/resources/mapper/sale/RepairMapper.xml

+ 5 - 5
src/main/resources/mapper/sale/RepairMapper.xml

@@ -11,7 +11,7 @@
             left join  t_repair_register rr on r.repair_id = rr.repair_id
             left join  t_customer c on r.repair_id = c.repair_id
             left join  t_customer_address cd on r.repair_id = cd.repair_id
-        where r.rec_status = 'A' and rr.status = 0 and r.status in
+        where r.rec_status = 'A' and r.status in
         <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
             #{status}
         </foreach>
@@ -46,7 +46,7 @@
             left join  t_order_receiving o on r.repair_id = o.repair_id
             left join  t_repair_register rr on r.repair_id = rr.repair_id
             left join  t_customer c on r.repair_id = c.repair_id
-        where r.rec_status = 'A'and rr.status = 0 and r.status in
+        where r.rec_status = 'A' and r.status in
         <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
             #{status}
         </foreach>
@@ -73,7 +73,7 @@
         left join  t_order_receiving o on r.repair_id = o.repair_id
         left join  t_repair_register rr on r.repair_id = rr.repair_id
         left join  t_customer c on r.repair_id = c.repair_id
-        where r.rec_status = 'A' and rr.status = 0 and r.status in
+        where r.rec_status = 'A'  and r.status in
         <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
             #{status}
         </foreach>
@@ -96,7 +96,7 @@
         left join  t_order_receiving o on r.repair_id = o.repair_id
         left join  t_repair_register rr on r.repair_id = rr.repair_id
         left join  t_customer c on r.repair_id = c.repair_id
-        where r.rec_status = 'A' and rr.status = 0 and r.status in
+        where r.rec_status = 'A'  and r.status in
         <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
             #{status}
         </foreach>
@@ -124,7 +124,7 @@
         left join  t_repair_register rr on r.repair_id = rr.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
-        where r.rec_status = 'A' and rr.status = 0
+        where r.rec_status = 'A'
         <if test="param.repairId != null and param.repairId != ''">
             and r.repair_id like  concat ('%',#{param.repairId},'%')
         </if>