This commit is contained in:
linfso 2024-10-30 11:48:59 +08:00
parent a78e175db3
commit 29a9f9c78b

View File

@ -197,7 +197,7 @@
where a.apply_seq_no = #{applySeqNo}
</select>
<!-- 检查是否有重复太抬头开票 -->
<!-- 检查是否有重复太抬头开票,未审核 -->
<select id="checkOpenBillRepeat" parameterType="EmisSettleInvoiceRecord" resultType="int">
select count(1) from emis_settle_invoice_record
where del_flag='0'
@ -205,6 +205,7 @@
and apply_money = #{applyMoney}
and invoice_type = #{invoiceType}
and company_tax_no = #{companyTaxNo}
and bl_audit = '0'
limit 1
</select>