新增组织申请开票、开票记录查询接口

This commit is contained in:
gaoqr
2025-08-25 16:33:08 +08:00
parent dad5871905
commit 085fb57a4d
14 changed files with 372 additions and 96 deletions
@@ -15,4 +15,13 @@
from purchase_record
where organ_id = #{organId}
</select>
<select id="getInvoicableAmount" resultType="java.math.BigDecimal">
select sum(account_balance_spent) from purchase_record
where organ_id = #{organId} and is_invocing = '${@com.cf.imes.module.system.enums.pay.InvoiceStatusEnum@INVOICABLE.status}'
and id in
<foreach collection="ids" item="id" open="(" close=")" separator=",">
#{id}
</foreach>
</select>
</mapper>