|
|
|
@ -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> |
|
|
|
|