00ece0bc by 周伟奇

fix bug

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