校验字段

release
yishiqihuasheng 2 years ago
parent 8bf8abe321
commit 59730dc930
  1. 13
      dxhy-sign/src/main/resources/mapper/SignInvoiceMapper.xml

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

Loading…
Cancel
Save