469aa009 by 冯轩

FIX:N1,N2没返回CMS的问题

1 parent 9357b124
......@@ -3042,7 +3042,9 @@ def se_compare_process(compare_info, ocr_res_dict, is_gsyh, is_auto, id_res_list
each_license_failed_count = 0
for name, value, result, ocr_str, img_path, error_type, cn_reason in result_field_list:
total_fields += 1
if result == consts.RESULT_N:
if result == consts.RESULT_N \
or (result == consts.RESULT_N1 and license_en == consts.BS_EN) \
or (result == consts.RESULT_N2 and license_en == consts.BS_EN):
# 确认书N2
if license_en == consts.AFC_CONTRACT_QRS_EN and name == consts.SE_AFC_CON_QRS_FIELD[0] and ocr_str == empty_str:
pass
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!