update param
Showing
2 changed files
with
4 additions
and
3 deletions
... | @@ -1091,8 +1091,9 @@ class SECMSView(GenericView): | ... | @@ -1091,8 +1091,9 @@ class SECMSView(GenericView): |
1091 | authentication_classes = [OAuth2AuthenticationWithUser] | 1091 | authentication_classes = [OAuth2AuthenticationWithUser] |
1092 | 1092 | ||
1093 | # pos上传比对信息接口 SE | 1093 | # pos上传比对信息接口 SE |
1094 | @use_args(se_cms_args, location='data') | 1094 | # @use_args(se_cms_args, location='data') |
1095 | def post(self, request, args): | 1095 | def post(self, request): |
1096 | args = request.data | ||
1096 | cms_info = args.get('content', {}) | 1097 | cms_info = args.get('content', {}) |
1097 | business_type = consts.AFC_PREFIX if cms_info.get('financeCompany', '').startswith('宝马') else consts.HIL_PREFIX | 1098 | business_type = consts.AFC_PREFIX if cms_info.get('financeCompany', '').startswith('宝马') else consts.HIL_PREFIX |
1098 | src_application_id = cms_info.get('settlemnetVerification', {}).get('applicationNo', '') | 1099 | src_application_id = cms_info.get('settlemnetVerification', {}).get('applicationNo', '') | ... | ... |
... | @@ -1291,7 +1291,7 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res | ... | @@ -1291,7 +1291,7 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res |
1291 | detect_list = se_result_detect(ocr_res_dict) | 1291 | detect_list = se_result_detect(ocr_res_dict) |
1292 | if is_cms: | 1292 | if is_cms: |
1293 | last_obj = rebuild_compare_info(last_obj, application_id) | 1293 | last_obj = rebuild_compare_info(last_obj, application_id) |
1294 | compare_info, is_gsyh = get_se_compare_info(last_obj, application_entity, detect_list) | 1294 | compare_info = get_se_compare_info(last_obj, application_entity, detect_list) |
1295 | compare_result, total_fields, failed_count, successful_at_this_level, failure_reason_str = se_compare_process( | 1295 | compare_result, total_fields, failed_count, successful_at_this_level, failure_reason_str = se_compare_process( |
1296 | compare_info, ocr_res_dict) | 1296 | compare_info, ocr_res_dict) |
1297 | compare_log.info('{0} [SE] [compare success] [entity={1}] [id={2}] [ocr_res_id={3}] [result={4}]'.format( | 1297 | compare_log.info('{0} [SE] [compare success] [entity={1}] [id={2}] [ocr_res_id={3}] [result={4}]'.format( | ... | ... |
-
Please register or sign in to post a comment