bugfix
This commit is contained in:
parent
733a8d5b35
commit
07403486dc
@ -375,6 +375,7 @@ order by b.enabled_date desc"""
|
||||
e = Exception(f'config_data is None, {yamlstr=}')
|
||||
exception(f'{e=}')
|
||||
raise e
|
||||
config_data = config_data.copy()
|
||||
d = None
|
||||
try:
|
||||
d = yaml.safe_load(yamlstr)
|
||||
@ -388,7 +389,6 @@ order by b.enabled_date desc"""
|
||||
if not d.pricings:
|
||||
exception(f'{d} has not "pricings"')
|
||||
raise Exception(f'定价定义中没有pricing数据')
|
||||
formula = d.formula
|
||||
ret_items = []
|
||||
for i, p in enumerate(d.pricings):
|
||||
if not p.formula:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user