|
|
@ -50,11 +50,14 @@ |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
--> |
|
|
|
--> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType == '14' "> |
|
|
|
<!-- <if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType == '14' ">--> |
|
|
|
and (r.invoice_type = '14' or (r.invoice_type = '32' and r.lq_tdyslxDm='08') ) |
|
|
|
<!-- and (r.invoice_type = '14' or (r.invoice_type = '32' and r.lq_tdyslxDm='08') )--> |
|
|
|
</if> |
|
|
|
<!-- </if>--> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType == '32' "> |
|
|
|
<!-- <if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType == '32' ">--> |
|
|
|
and r.invoice_type = #{invoiceType} and r.lq_tdyslxDm!='08' |
|
|
|
<!-- and r.invoice_type = #{invoiceType} and r.lq_tdyslxDm!='08'--> |
|
|
|
|
|
|
|
<!-- </if>--> |
|
|
|
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' "> |
|
|
|
|
|
|
|
and r.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' "> |
|
|
|
<if test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' "> |
|
|
|
and t.invoice_no = #{invoiceNo} |
|
|
|
and t.invoice_no = #{invoiceNo} |
|
|
|