This commit is contained in:
yumoqing 2026-03-25 14:59:49 +08:00
parent d65bc52f07
commit 6c1a11a9f1

View File

@ -231,6 +231,9 @@ class PricingProgram:
debug(f'id={ppid} pricing_program not found') debug(f'id={ppid} pricing_program not found')
r = recs[0] r = recs[0]
x = DictObject(** yaml.safe_load(r.pricing_spec)) x = DictObject(** yaml.safe_load(r.pricing_spec))
fields = x
if x.get('fields'):
fields = x['fields']
fpath = write_pattern_xlsx(r.name, x) fpath = write_pattern_xlsx(r.name, x)
return fpath return fpath