FIX:没有流水的情况
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -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: | ... | ... |
-
Please register or sign in to post a comment