diff --git a/pricing/pricing.py b/pricing/pricing.py index 087a272..8c5c19f 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -332,6 +332,7 @@ where a.id = b.ppid except Exception as e: exception(f'yaml.sage_load({yamlstr}) error: {e}') raise e + d = DictObject(**d) if not d.fields: exception(f'{d} has not "fields"') raise Exception(f'定价定义中没有fields数据')