00ece0bc by 周伟奇

fix bug

1 parent 3b1e6657
......@@ -724,8 +724,8 @@ class SECompareView(GenericView):
application_id=application_id, defaults={'on_off': True})
# 加入auto表
auto_class = HILAutoSettlement if business_type in consts.HIL_SET else AFCAutoSettlement
is_auto = auto_class.objects.filter(application_id=application_id, on_off=True).exists()
if not is_auto:
is_auto_in_db = auto_class.objects.filter(application_id=application_id, on_off=True).exists()
if not is_auto_in_db:
auto_class.objects.create(
application_id=application_id,
)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!