账户总览可开票金额筛选首购记录

This commit is contained in:
gaoqr
2025-09-28 18:01:46 +08:00
parent 7250861d0e
commit 37507ec0cc
@@ -9,7 +9,7 @@
END
) AS total_spent
FROM purchase_record
where organ_id = #{organId} and is_invocing = '${@com.cf.imes.module.system.enums.pay.InvoiceStatusEnum@INVOICABLE.code}' and deleted = false;
where organ_id = #{organId} and is_invocing = '${@com.cf.imes.module.system.enums.pay.InvoiceStatusEnum@INVOICABLE.code}' and deleted = false and initial != true;
</select>
<!-- 查询机构下开票金额统计:可开票、开票中、已开票-->