소스 검색

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

lyhzzz 1 년 전
부모
커밋
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>