diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index 69523f6d..d37d8305 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -1045,6 +1045,7 @@ and d.tj_status in('0','3') and invoice_date between c.select_start_date and c.select_end_date and t.company = #{company} + and t.inaccount_status = '1' and t.gf_tax_no in #{item} @@ -1093,12 +1094,6 @@ and t.bzdh = #{bzdh} - - and t.inaccount_status = #{inAccountStatus} - - - and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null) - and t.sn_voucher_number = #{snVoucherNumber}