ariesy 增加排序参数

release
yefei 2 years ago
parent b2d7621c01
commit 30d5c55515
  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'.toString()">
order by t.sn_voucher_number
</if>
<if test="sortPzbh == '2'">
<if test="sortPzbh == '2'.toString()">
order by t.sn_voucher_number desc
</if>
<if test="sortBzdh == '1'">
<if test="sortBzdh == '1'.toString()">
order by t.bzdh
</if>
<if test="sortBzdh == '2'">
<if test="sortBzdh == '2'.toString()">
order by t.bzdh desc
</if>
<if test="sortKprq == '1'">
<if test="sortKprq == '1'.toString()">
order by t.invoice_date
</if>
<if test="sortKprq == '2'">
<if test="sortKprq == '2'.toString()">
order by t.invoice_date desc
</if>
</select>

Loading…
Cancel
Save