|
|
@ -724,17 +724,17 @@ |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<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 |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="qsksrq==null or qsksrq=='' or qsjsrq==null or qsjsrq==''"> |
|
|
|
|
|
|
|
order by t.invoice_date desc |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="taxRate!=null and taxRate!='' and taxRate!='多税率' and taxRate != null and taxRate !='99'"> |
|
|
|
<if test="taxRate!=null and taxRate!='' and taxRate!='多税率' and taxRate != null and taxRate !='99'"> |
|
|
|
and t.tax_rate = #{taxRate} |
|
|
|
and t.tax_rate = #{taxRate} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="taxRate=='多税率'"> |
|
|
|
<if test="taxRate=='多税率'"> |
|
|
|
and t.tax_rate like '%,%' |
|
|
|
and t.tax_rate like '%,%' |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<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 |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="qsksrq==null or qsksrq=='' or qsjsrq==null or qsjsrq==''"> |
|
|
|
|
|
|
|
order by t.invoice_date desc |
|
|
|
|
|
|
|
</if> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|
</mapper> |
|
|
|