d37597e9 by 周伟奇

Merge branch 'feature/bd' into feature/0918

2 parents 47417128 984fdff1
......@@ -256,10 +256,10 @@ class Command(BaseCommand, LoggerMixin):
product_result = ['', '', '']
for product in license_data.get('result', {}).get('productList', []):
name = product.get('name', {}).get('words', '')
if name == '机动车损失保险':
if name.find('机动车损失保险') != -1:
product_result[0] = product.get('coverage', {}).get('words', '')
product_result[2] = product.get('deductible_franchise', {}).get('words', '')
elif name == '机动车第三者责任保险':
elif name.find('机动车第三者责任保险') != -1:
product_result[1] = product.get('coverage', {}).get('words', '')
insurance_ocr_result = {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!