diff --git a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml index b4c93ba2..604f71dd 100644 --- a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml @@ -235,11 +235,11 @@ and t.account_period = #{accountPeriod} - - and (t.tax_rate in - - #{taxRate} - + + and t.tax_rate like %#{taxRate}% + + + and t.tax_rate #{taxRate} diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index da24283d..4edc1c8b 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -136,12 +136,6 @@ and t.bzdh = #{bzdh} - - and (t.tax_rate in - - #{taxRate} - - and t.inaccount_status = #{inAccountStatus} @@ -223,6 +217,12 @@ and t.account_period = #{accountPeriod} + + and t.tax_rate like %#{taxRate}% + + + and t.tax_rate #{taxRate} + @@ -565,6 +565,12 @@ and t.account_period = #{accountPeriod} + + and t.tax_rate like %#{taxRate}% + + + and t.tax_rate #{taxRate} + order by t.bzdh desc