diff --git a/dxhy-export-domestic/src/main/resources/mapper/DomesticExportInvoiceMapper.xml b/dxhy-export-domestic/src/main/resources/mapper/DomesticExportInvoiceMapper.xml index c8d33996..0c168334 100644 --- a/dxhy-export-domestic/src/main/resources/mapper/DomesticExportInvoiceMapper.xml +++ b/dxhy-export-domestic/src/main/resources/mapper/DomesticExportInvoiceMapper.xml @@ -352,10 +352,14 @@ and p.gf_tax_no = #{queryParams.gfsh} - + and p.rzh_yesorno = #{queryParams.rzhYesorno} + + and (p.rzh_yesorno = '1' or p.rzh_yesorno = '2') + + and p.bdk_status = #{queryParams.bdkStatus} @@ -436,10 +440,14 @@ and p.gf_tax_no = #{queryParams.gfsh} - + and p.rzh_yesorno = #{queryParams.rzhYesorno} + + and (p.rzh_yesorno = '1' or p.rzh_yesorno = '2') + + and p.bdk_status = #{queryParams.bdkStatus}