ariesy 优化代码

release
yefei 2 years ago
parent 2fb66d815b
commit b2d7621c01
  1. 12
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -232,22 +232,22 @@
<if test="taxRate=='多税率'">
and t.tax_rate like '%,%'
</if>
<if test="sortPzbh == 1">
<if test="sortPzbh == '1'">
order by t.sn_voucher_number
</if>
<if test="sortPzbh == 2">
<if test="sortPzbh == '2'">
order by t.sn_voucher_number desc
</if>
<if test="sortBzdh == 1">
<if test="sortBzdh == '1'">
order by t.bzdh
</if>
<if test="sortBzdh == 2">
<if test="sortBzdh == '2'">
order by t.bzdh desc
</if>
<if test="sortKprq == 1">
<if test="sortKprq == '1'">
order by t.invoice_date
</if>
<if test="sortKprq == 2">
<if test="sortKprq == '2'">
order by t.invoice_date desc
</if>
</select>

Loading…
Cancel
Save