|
|
@ -218,10 +218,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 #{taxRate} |
|
|
|
and t.tax_rate = #{taxRate} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<!-- <if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'">--> |
|
|
|
<!-- <if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'">--> |
|
|
|
<!-- order by t.qs_date desc,t.invoice_date desc--> |
|
|
|
<!-- order by t.qs_date desc,t.invoice_date desc--> |
|
|
@ -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> |
|
|
|