fss加入sql查询
Showing
2 changed files
with
2 additions
and
1 deletions
| ... | @@ -1306,6 +1306,7 @@ COMPARE_FIELDS = ( | ... | @@ -1306,6 +1306,7 @@ COMPARE_FIELDS = ( |
| 1306 | HIL_CONTRACT_2_FIELD, | 1306 | HIL_CONTRACT_2_FIELD, |
| 1307 | HIL_CONTRACT_3_FIELD, | 1307 | HIL_CONTRACT_3_FIELD, |
| 1308 | FS_FIELD, | 1308 | FS_FIELD, |
| 1309 | FSS_FIELD, | ||
| 1309 | ) | 1310 | ) |
| 1310 | 1311 | ||
| 1311 | PRE_COMPARE_FIELDS = ( | 1312 | PRE_COMPARE_FIELDS = ( | ... | ... |
| ... | @@ -2443,7 +2443,6 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type): | ... | @@ -2443,7 +2443,6 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type): |
| 2443 | 2443 | ||
| 2444 | def se_compare_license(license_en, ocr_res_dict, field_list): | 2444 | def se_compare_license(license_en, ocr_res_dict, field_list): |
| 2445 | ocr_field, compare_logic, special_expiry_date = consts.SE_COMPARE_FIELD[license_en] | 2445 | ocr_field, compare_logic, special_expiry_date = consts.SE_COMPARE_FIELD[license_en] |
| 2446 | compare_log.info('{0} [{1}_compare] ocr_res:{2}'.format(log_base, license_en, ocr_res_str)) | ||
| 2447 | 2446 | ||
| 2448 | is_find = False | 2447 | is_find = False |
| 2449 | no_ocr_result = False | 2448 | no_ocr_result = False |
| ... | @@ -2452,6 +2451,7 @@ def se_compare_license(license_en, ocr_res_dict, field_list): | ... | @@ -2452,6 +2451,7 @@ def se_compare_license(license_en, ocr_res_dict, field_list): |
| 2452 | section_img_info = dict() | 2451 | section_img_info = dict() |
| 2453 | field_img_path_dict = dict() | 2452 | field_img_path_dict = dict() |
| 2454 | ocr_res_str = ocr_res_dict.get(ocr_field) | 2453 | ocr_res_str = ocr_res_dict.get(ocr_field) |
| 2454 | compare_log.info('{0} [{1}_compare] ocr_res:{2}'.format(log_base, license_en, ocr_res_str)) | ||
| 2455 | if ocr_res_str is not None: | 2455 | if ocr_res_str is not None: |
| 2456 | ocr_res_list = json.loads(ocr_res_str) | 2456 | ocr_res_list = json.loads(ocr_res_str) |
| 2457 | 2457 | ... | ... |
-
Please register or sign in to post a comment