MOD
Showing
1 changed file
with
6 additions
and
2 deletions
... | @@ -3746,10 +3746,14 @@ def compare_thread(application_id, application_entity, uniq_seq, ocr_res_id, is_ | ... | @@ -3746,10 +3746,14 @@ def compare_thread(application_id, application_entity, uniq_seq, ocr_res_id, is_ |
3746 | # 查看此订单号下是否有未完成的文件,如果有,等3分钟 | 3746 | # 查看此订单号下是否有未完成的文件,如果有,等3分钟 |
3747 | doc_wait_file_class = HILDoc if application_entity == consts.HIL_PREFIX else AFCDoc | 3747 | doc_wait_file_class = HILDoc if application_entity == consts.HIL_PREFIX else AFCDoc |
3748 | doc_wait_file_result = doc_wait_file_class.objects.filter(application_id=application_id, status=1).first() | 3748 | doc_wait_file_result = doc_wait_file_class.objects.filter(application_id=application_id, status=1).first() |
3749 | compare_log.info('111111') | ||
3750 | compare_log.info(doc_wait_file_result) | ||
3749 | if doc_wait_file_result is not None: | 3751 | if doc_wait_file_result is not None: |
3750 | compare_log.info('{0} [comparison unfinished file wait 180s start] [entity={1}] [id={2}] [doc_id={3}]'.format(log_base, application_entity, application_id, doc_wait_file_result.get('id'))) | 3752 | compare_log.info('222222') |
3753 | compare_log.info('{0} [comparison unfinished file wait 180s start] [entity={1}] [id={2}] [doc_id={3}]'.format(log_base, application_entity, application_id, '111')) | ||
3751 | time.sleep(60) | 3754 | time.sleep(60) |
3752 | compare_log.info('{0} [comparison unfinished file wait 180s end] [entity={1}] [id={2}] [doc_id={3}]'.format(log_base, application_entity, application_id, doc_wait_file_result.get('id'))) | 3755 | compare_log.info('333333') |
3756 | compare_log.info('{0} [comparison unfinished file wait 180s end] [entity={1}] [id={2}] [doc_id={3}]'.format(log_base, application_entity, application_id, '111')) | ||
3753 | 3757 | ||
3754 | 3758 | ||
3755 | # 根据application_id查找最新的比对信息,如果没有,结束 | 3759 | # 根据application_id查找最新的比对信息,如果没有,结束 | ... | ... |
-
Please register or sign in to post a comment