diff --git a/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml b/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml index ac9a2335..d20485af 100644 --- a/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml +++ b/dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml @@ -115,16 +115,17 @@ and t.gf_tax_no = #{gfsh} - + + + + + + + + - 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}