Parcourir la source

发票管理去掉无需开票的数据

lyhzzz il y a 1 an
Parent
commit
14ae5f3101
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/mapper/sale/RepairMapper.xml

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

@@ -187,7 +187,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'
+        where r.rec_status = 'A' and r.invoice_status !=2
         <if test="param.repairId != null and param.repairId != ''">
             and r.repair_id like  concat ('%',#{param.repairId},'%')
         </if>