213c321e by 冯轩

Merge branch 'feature/CHINARPA-5155' into feature/uat-tmp

2 parents 7b12cfc3 8c434fbc
...@@ -3720,10 +3720,14 @@ def fsm_compare_thread(application_id, application_entity, uniq_seq, ocr_res_id, ...@@ -3720,10 +3720,14 @@ def fsm_compare_thread(application_id, application_entity, uniq_seq, ocr_res_id,
3720 3720
3721 # 实时查询延迟时间 3721 # 实时查询延迟时间
3722 delay_time_config = Configs.objects.filter(id=4).first() 3722 delay_time_config = Configs.objects.filter(id=4).first()
3723 if delay_time_config is None or delay_time is None or not delay_time.isdigit(): 3723 if delay_time_config is not None and delay_time_config.value
3724 if delay_time_config is None:
3724 delay_time = 0 3725 delay_time = 0
3725 else: 3726 else:
3726 delay_time = delay_time_config.value 3727 delay_time = delay_time_config.value
3728 if delay_time is None or not delay_time.isdigit():
3729 delay_time = 0
3730 else:
3727 compare_log.info('delay_time:{0}'.format(delay_time)) 3731 compare_log.info('delay_time:{0}'.format(delay_time))
3728 3732
3729 # 查看此订单号下是否有未完成的文件,如果有,等1分钟 3733 # 查看此订单号下是否有未完成的文件,如果有,等1分钟
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!