Merge branch 'CHINARPA-4562' into feature/uat-tmp
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -2057,6 +2057,8 @@ class EmployeeView(GenericView): | ... | @@ -2057,6 +2057,8 @@ class EmployeeView(GenericView): |
2057 | self.running_log.info('[query Employee] [application_id={0}] ocr_result none'.format(application_id)) | 2057 | self.running_log.info('[query Employee] [application_id={0}] ocr_result none'.format(application_id)) |
2058 | return response.ok(data=False) | 2058 | return response.ok(data=False) |
2059 | bss_ocr_str = ocr_result_info.bss_ocr | 2059 | bss_ocr_str = ocr_result_info.bss_ocr |
2060 | if bss_ocr_str is None: | ||
2061 | return response.ok(data=False) | ||
2060 | bss_ocr = json.loads(bss_ocr_str) | 2062 | bss_ocr = json.loads(bss_ocr_str) |
2061 | self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr)) | 2063 | self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr)) |
2062 | for one_bss in bss_ocr: | 2064 | for one_bss in bss_ocr: | ... | ... |
-
Please register or sign in to post a comment