This commit is contained in:
yumoqing 2026-03-25 12:08:42 +08:00
parent 85740b62fd
commit 5645c7aeb2

View File

@ -283,7 +283,8 @@ order by b.enabled_date desc"""
}) })
if recs: if recs:
r = recs[0] r = recs[0]
r.prices = PricingProgram.get_pricing_from_ymalstr(data, r.pricing_date) r.prices = PricingProgram.get_pricing_from_ymalstr(data,
r.pricing_data)
debug(f'{r.prices=}') debug(f'{r.prices=}')
amt = 0.0 amt = 0.0
for p in r.prices: for p in r.prices: