一键认证修改可以认证未入账发票问题

release
路明慧 2 years ago
parent 00fd3ddadc
commit 9f48d3e5c6
  1. 7
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -1045,6 +1045,7 @@
and d.tj_status in('0','3')
and invoice_date between c.select_start_date and c.select_end_date
and t.company = #{company}
and t.inaccount_status = '1'
and t.gf_tax_no in
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")">
#{item}
@ -1093,12 +1094,6 @@
<if test="bzdh != null and bzdh != '' and bzdh != 'null' and bzdh != '99'">
and t.bzdh = #{bzdh}
</if>
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '1'.toString()">
and t.inaccount_status = #{inAccountStatus}
</if>
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '0'.toString()">
and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null)
</if>
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'">
and t.sn_voucher_number = #{snVoucherNumber}
</if>

Loading…
Cancel
Save