cms_status_info update
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -1401,6 +1401,7 @@ class SECMSView(GenericView): | ... | @@ -1401,6 +1401,7 @@ class SECMSView(GenericView): |
1401 | fsm_best_price = cms_info.get('FSMBestPrice', False) | 1401 | fsm_best_price = cms_info.get('FSMBestPrice', False) |
1402 | if fsm_contract: | 1402 | if fsm_contract: |
1403 | # 记录fsm 流程的cms 提交 | 1403 | # 记录fsm 流程的cms 提交 |
1404 | try: | ||
1404 | cms_status_info = CmsStatusInfo.objects.filter(application_id=application_id).first() | 1405 | cms_status_info = CmsStatusInfo.objects.filter(application_id=application_id).first() |
1405 | if cms_status_info: | 1406 | if cms_status_info: |
1406 | cms_status_info.is_fsm = 1 | 1407 | cms_status_info.is_fsm = 1 |
... | @@ -1411,6 +1412,8 @@ class SECMSView(GenericView): | ... | @@ -1411,6 +1412,8 @@ class SECMSView(GenericView): |
1411 | cms_status_info.business_type = business_type | 1412 | cms_status_info.business_type = business_type |
1412 | cms_status_info.is_fsm = 1 | 1413 | cms_status_info.is_fsm = 1 |
1413 | cms_status_info.save() | 1414 | cms_status_info.save() |
1415 | except Exception as e: | ||
1416 | self.exception_log.exception('[cms view] [cms_status_info db save failed] [error={0}]'.format(traceback.format_exc())) | ||
1414 | fsm_compare.apply_async((application_id, business_type, None, None, False, True), | 1417 | fsm_compare.apply_async((application_id, business_type, None, None, False, True), |
1415 | queue='queue_compare') | 1418 | queue='queue_compare') |
1416 | else: | 1419 | else: | ... | ... |
-
Please register or sign in to post a comment