a1e9a475 by 冯轩

FIX:没有流水的情况

1 parent 29aedd0a
...@@ -1867,6 +1867,8 @@ class EmployeeView(GenericView): ...@@ -1867,6 +1867,8 @@ class EmployeeView(GenericView):
1867 self.running_log.info('[query Employee] [application_id={0}] ocr_result none'.format(application_id)) 1867 self.running_log.info('[query Employee] [application_id={0}] ocr_result none'.format(application_id))
1868 return response.ok(data=False) 1868 return response.ok(data=False)
1869 bss_ocr_str = ocr_result_info.bss_ocr 1869 bss_ocr_str = ocr_result_info.bss_ocr
1870 if bss_ocr_str is None:
1871 return response.ok(data=False)
1870 bss_ocr = json.loads(bss_ocr_str) 1872 bss_ocr = json.loads(bss_ocr_str)
1871 self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr)) 1873 self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr))
1872 for one_bss in bss_ocr: 1874 for one_bss in bss_ocr:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!