fix bug
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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 | ) | ... | ... |
-
Please register or sign in to post a comment