1、新增组织支持自动过期的购买记录;2、软件购买定价规则自动展示1~10月的价格和参考定价中年的展示;3、产品管理和定价管理适配新的需求入参;

This commit is contained in:
gaoqr
2025-09-28 17:45:06 +08:00
parent 836b61ac6b
commit 7250861d0e
28 changed files with 322 additions and 308 deletions
@@ -39,7 +39,7 @@
END
) AS invoiced
from purchase_record
where organ_id = #{organId} and deleted = false;
where organ_id = #{organId} and deleted = false and initial != true;
</select>
<select id="getInvoicableAmount" resultType="java.math.BigDecimal">
@@ -58,7 +58,7 @@
sum(total_amount - gift_money_spent) as amount,
sum(gift_money_spent) as giftAmount
from purchase_record
where deleted = false;
where deleted = false and initial != true;
</select>
<select id="getTotalRechargeUsageAmount" resultType="java.math.BigDecimal">