6e9f7b32 by 周伟奇

fix bs bug

1 parent 99e1ec8c
......@@ -1799,16 +1799,12 @@ SPECIAL_REASON_2 = '担保人未提供银行流水,需人工查看直系亲属
SPECIAL_REASON_3 = '未提供银行流水'
BS_REASON = {
'主共借人未提供银行流水,含担保人需人工查看直系亲属关系',
'担保人未提供银行流水,需人工查看直系亲属关系',
'未提供银行流水',
'主共借人未提供银行流水',
'担保人未提供银行流水',
'主共借人银行流水打印日期超过15天',
'担保人银行流水打印日期超过15天',
'主共借人银行流水日期不满足3个月',
'担保人银行流水日期不满足3个月'
SPECIAL_REASON,
SPECIAL_REASON_2,
SPECIAL_REASON_3,
}
for _, _, _, tmp_bs_reason in BS_COMPARE_LOGIC.values():
BS_REASON.add(tmp_bs_reason)
# ['合同编号-每页', '合同编号-正文', '车辆识别代码', '车辆卖方', '车辆原始销售价格', '融资成本总额', '租期', '还款计划表', 'ASP项目详情', '购置税校验', '承租人法定代表人或授权代表']
# ['承租人姓名', '承租人证件号', '承租人签字', '共同承租人姓名', '共同承租人证件号', '共同承租人签字', '保证人姓名1', '保证人证件号1', '保证人签字1', '保证人姓名2', '保证人证件号2', '保证人签字2']
......
......@@ -2823,8 +2823,9 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res
'[error={4}]'.format(log_base, application_entity, application_id, ocr_res_id,
traceback.format_exc()))
else:
compare_log.info('{0} [SE] [cms success] [entity={1}] [id={2}] [ocr_res_id={3}] [response={4}]'.format(
log_base, application_entity, application_id, ocr_res_id, response))
compare_log.info('{0} [SE] [cms success] [entity={1}] [id={2}] [ocr_res_id={3}] [data={4}] '
'[response={5}]'.format(log_base, application_entity, application_id, ocr_res_id,
data, response))
@app.task
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!