arieay 查询sql增加税率字段 v2

release
yefei 2 years ago
parent 82bb374654
commit 7b6cddc06a
  1. 6
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -515,12 +515,6 @@
<if test="bzdh != null and bzdh != '' and bzdh != 'null' and bzdh != '99'">
and t.bzdh = #{bzdh}
</if>
<if test="taxRate != null and taxRate != '' and taxRate != 'null' and taxRate != '99'">
and (t.tax_rate in
<foreach collection="rates" index="index" item="taxRate" separator="," open="(" close=")">
#{taxRate}
</foreach>
</if>
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '1'.toString()">
and t.inaccount_status = #{inAccountStatus}
</if>

Loading…
Cancel
Save