a1e9a475 by 冯轩

FIX:没有流水的情况

1 parent 29aedd0a
......@@ -1867,6 +1867,8 @@ class EmployeeView(GenericView):
self.running_log.info('[query Employee] [application_id={0}] ocr_result none'.format(application_id))
return response.ok(data=False)
bss_ocr_str = ocr_result_info.bss_ocr
if bss_ocr_str is None:
return response.ok(data=False)
bss_ocr = json.loads(bss_ocr_str)
self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr))
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!