This commit is contained in:
yumoqing 2026-03-24 11:48:23 +08:00
parent 63cea2614b
commit db710ebbf8

View File

@ -261,7 +261,7 @@ where a.id = b.ppid
amt = 0.0
for p in r.prices:
amt += p.amount
if r.pricing_belong == 'provider'
if r.pricing_belong == 'provider':
return amt, amt * r.discount # 售价, 成本
return amt, 0
return r