Merge branch 'feature/CHINARPA-5075' into feature/uat-tmp
Showing
2 changed files
with
4 additions
and
1 deletions
... | @@ -2195,7 +2195,7 @@ DP_COMPARE_LOGIC = { | ... | @@ -2195,7 +2195,7 @@ DP_COMPARE_LOGIC = { |
2195 | '姓名': ('main_borrower_name', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书姓名与系统不一致'), | 2195 | '姓名': ('main_borrower_name', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书姓名与系统不一致'), |
2196 | '证件号码': ('main_borrower_id_no', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书证件号码与系统不一致'), | 2196 | '证件号码': ('main_borrower_id_no', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书证件号码与系统不一致'), |
2197 | '合同编号(含版本号)': ('apply_no', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书合同编号与系统不一致'), | 2197 | '合同编号(含版本号)': ('apply_no', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书合同编号与系统不一致'), |
2198 | '承诺人签字-电子': ('promisor_signature', 'se_common_compare', {'remove_space': True}, '首付款支付承诺书承诺人签字与系统不一致'), | 2198 | '承诺人签字-电子': ('promisor_signature', 'se_common_compare', {'remove_all_space': True}, '首付款支付承诺书承诺人签字与系统不一致'), |
2199 | '承诺人签字日期-电子': ('promisor_signature_date', 'se_have_compare', {}, 'N-首付款支付承诺书缺少签字日期'), | 2199 | '承诺人签字日期-电子': ('promisor_signature_date', 'se_have_compare', {}, 'N-首付款支付承诺书缺少签字日期'), |
2200 | } | 2200 | } |
2201 | 2201 | ... | ... |
... | @@ -324,6 +324,9 @@ class Comparison: | ... | @@ -324,6 +324,9 @@ class Comparison: |
324 | return self.RESULT_Y | 324 | return self.RESULT_Y |
325 | if kwargs.get('remove_space', False): | 325 | if kwargs.get('remove_space', False): |
326 | input_str = input_str.replace(' ', '') | 326 | input_str = input_str.replace(' ', '') |
327 | if kwargs.get('remove_all_space', False): | ||
328 | input_str = input_str.replace(' ', '') | ||
329 | ocr_str = ocr_str.replace(' ', '') | ||
327 | if kwargs.get('brackets_replace', False): | 330 | if kwargs.get('brackets_replace', False): |
328 | input_str = input_str.translate(self.KH_TRANS) | 331 | input_str = input_str.translate(self.KH_TRANS) |
329 | ocr_str = ocr_str.translate(self.KH_TRANS) | 332 | ocr_str = ocr_str.translate(self.KH_TRANS) | ... | ... |
-
Please register or sign in to post a comment