Просмотр исходного кода

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

lyhzzz 1 год назад
Родитель
Сommit
14ae5f3101
1 измененных файлов с 1 добавлено и 1 удалено
  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>