d8413b41 by 冯轩

MOD:金额改成字符串才能进入比对

1 parent 2be87904
......@@ -2519,7 +2519,7 @@ def se_compare_license(license_en, ocr_res_dict, field_list, is_auto):
compare_log.info('{0} [bd_4962_price] [ori ocr_str:{1}] '.format(log_base, ocr_str))
add_price = conf.BD_PRICE
compare_log.info('{0} [bd_4962_price] [add_price:{1}] '.format(log_base, add_price))
ocr_str = float(ocr_str) + float(add_price)
ocr_str = str(float(ocr_str) + float(add_price))
compare_log.info('{0} [bd_4962_price] [final ocr_str:{1}] '.format(log_base, ocr_str))
else:
ocr_str = ocr_res_list[res_idx].get(compare_logic[name][0])
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!