|
|
|
@ -241,7 +241,24 @@ |
|
|
|
|
<if test="taxRate=='多税率'"> |
|
|
|
|
and t.tax_rate like '%,%' |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
<if test="sortPzbh == 1"> |
|
|
|
|
order by t.sn_voucher_number |
|
|
|
|
</if> |
|
|
|
|
<if test="sortPzbh == 2"> |
|
|
|
|
order by t.sn_voucher_number desc |
|
|
|
|
</if> |
|
|
|
|
<if test="sortBzdh == 1"> |
|
|
|
|
order by t.bzdh |
|
|
|
|
</if> |
|
|
|
|
<if test="sortBzdh == 2"> |
|
|
|
|
order by t.bzdh desc |
|
|
|
|
</if> |
|
|
|
|
<if test="sortKprq == 1"> |
|
|
|
|
order by t.invoice_date |
|
|
|
|
</if> |
|
|
|
|
<if test="sortKprq == 2"> |
|
|
|
|
order by t.invoice_date desc |
|
|
|
|
</if> |
|
|
|
|
</select> |
|
|
|
|
<select id="selectByPramsMap" parameterType="java.util.Map" |
|
|
|
|
resultMap="BaseResultMap" databaseId="oracle"> |
|
|
|
|