arieay 查询sql增加税率字段 v2

release
yefei 2 years ago
parent 0fd3d4de40
commit 0bebd96a82
  1. 4
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -560,10 +560,10 @@
and t.account_period = #{accountPeriod} and t.account_period = #{accountPeriod}
</if> </if>
<if test="taxRate!=null and taxRate!='' and taxRate != null and taxRate !='99'"> <if test="taxRate!=null and taxRate!='' and taxRate != null and taxRate !='99'">
and t.tax_rate like %#{taxRate}% and t.tax_rate = #{taxRate}
</if> </if>
<if test="taxRate==''"> <if test="taxRate==''">
and t.tax_rate like #{taxRate} and t.tax_rate = #{taxRate}
</if> </if>
order by t.bzdh desc order by t.bzdh desc
</select> </select>

Loading…
Cancel
Save