29aedd0a by 冯轩

MOD:bug

1 parent 98fb6f96
...@@ -1870,7 +1870,7 @@ class EmployeeView(GenericView): ...@@ -1870,7 +1870,7 @@ class EmployeeView(GenericView):
1870 bss_ocr = json.loads(bss_ocr_str) 1870 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)) 1871 self.running_log.info('[query Employee] [application_id={0}] [bss_ocr={1}]'.format(application_id, bss_ocr))
1872 for one_bss in bss_ocr: 1872 for one_bss in bss_ocr:
1873 income_keywords = one_bss['income_keywords'] 1873 income_keywords = one_bss.get('income_keywords')
1874 self.running_log.info('[query Employee] [application_id={0}] [income_keywords={1}]'.format(application_id, income_keywords)) 1874 self.running_log.info('[query Employee] [application_id={0}] [income_keywords={1}]'.format(application_id, income_keywords))
1875 if income_keywords is not None and len(income_keywords) > 0: 1875 if income_keywords is not None and len(income_keywords) > 0:
1876 return response.ok(data=True) 1876 return response.ok(data=True)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!