fix/issue-88-v2-payment-summary-export
V2.0
自存表导出时,V2 样本缴费已确认 yjf 的协议,已缴/退款列为空。
yjf
build_protocol_payment_summaries(include_sample_payment_modes=True)
关联:#88
pytest backend/tests/test_protocol_v2_payment_mode_summary.py -q
构建与整体验收由用户在合入后进行。
自存表导出依赖 paymentSummary.receivedAmount,原先仅汇总 V1 biz_protocol_payment;现对 include_sample_payment_modes 路径补齐 合同额、已收、分期明细与退费,避免已缴/退款列为空。 Co-authored-by: Cursor <cursoragent@cursor.com>
No dependencies set.
The note is not visible to the blocked user.
问题
自存表导出时,V2 样本缴费已确认
yjf的协议,已缴/退款列为空。改动
build_protocol_payment_summaries(include_sample_payment_modes=True)从样本缴费方案汇总合同额、已收、分期明细与退费关联:#88
测试
pytest backend/tests/test_protocol_v2_payment_mode_summary.py -q→ 7 passed构建与整体验收由用户在合入后进行。