diff --git a/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml b/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml index 7089a0a2..a3ca2ff3 100644 --- a/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml +++ b/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml @@ -50,11 +50,14 @@ and t.invoice_type = #{invoiceType} --> - - and (r.invoice_type = '14' or (r.invoice_type = '32' and r.lq_tdyslxDm='08') ) - - - and r.invoice_type = #{invoiceType} and r.lq_tdyslxDm!='08' + + + + + + + + and r.invoice_type = #{invoiceType} and t.invoice_no = #{invoiceNo}