From 54abb1e5ed8a3e63885623f8228b404a59178e76 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 25 Mar 2026 13:16:32 +0800 Subject: [PATCH] bugfix --- pricing/pricing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pricing/pricing.py b/pricing/pricing.py index 8c5c19f..034c452 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -336,8 +336,8 @@ where a.id = b.ppid if not d.fields: exception(f'{d} has not "fields"') raise Exception(f'定价定义中没有fields数据') - if not d.pricing: - exception(f'{d} has not "pricing"') + if not d.pricings: + exception(f'{d} has not "pricings"') raise Exception(f'定价定义中没有pricing数据') formula = d.formula ret_items = []