diff --git a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml index 4232ae31..a9cd0dd4 100644 --- a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml @@ -83,6 +83,13 @@ and t.bdk_status in ('1','2') + + AND t.inaccount_status = '1' + AND t.rzh_yesorno = '0' + + and t.bzdh is not null + + and t.invoice_status = #{invoiceStatus} @@ -368,6 +375,16 @@ and t.bdk_status in ('1','2') + + + AND t.inaccount_status = '1' + AND t.rzh_yesorno = '0' + + and t.bzdh is not null + + + + and t.invoice_status = #{invoiceStatus} diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index e3f0b072..5c50827a 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -523,6 +523,9 @@ and t.bzdh = #{bzdh} + + and t.bzdh is not null + and t.inaccount_status = #{inAccountStatus} diff --git a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml index be2b498c..3cdd444b 100644 --- a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml +++ b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml @@ -115,6 +115,13 @@ and t.bdk_status in ('1','2') + + AND t.inaccount_status = '1' + AND t.rzh_yesorno = '0' + + and t.bzdh is not null + + and t.invoice_status = #{invoiceStatus}