5a9885b4 by 冯轩

Merge remote-tracking branch 'origin/fix/hil_excel_sql'

2 parents d6d57f27 f39ea716
...@@ -1613,7 +1613,7 @@ SE_HIL_CON_1_MAP = { ...@@ -1613,7 +1613,7 @@ SE_HIL_CON_1_MAP = {
1613 1613
1614 '承租人姓名': (1, 1, 7, '承租人-姓名', None), 1614 '承租人姓名': (1, 1, 7, '承租人-姓名', None),
1615 '承租人证件号': (1, 1, 7, '承租人-证件号码', None), 1615 '承租人证件号': (1, 1, 7, '承租人-证件号码', None),
1616 '承租人签字': (6, 6, 7, '签字页-承租人姓名', None), 1616 '承租人签字': (6, 6, 7, '签字页-承租人签章', None),
1617 1617
1618 '共同承租人姓名': (1, 1, 7, '保证人1-姓名', None), 1618 '共同承租人姓名': (1, 1, 7, '保证人1-姓名', None),
1619 '共同承租人证件号': (1, 1, 7, '保证人1-证件号码', None), 1619 '共同承租人证件号': (1, 1, 7, '保证人1-证件号码', None),
...@@ -1641,7 +1641,7 @@ SE_HIL_CON_2_MAP = { ...@@ -1641,7 +1641,7 @@ SE_HIL_CON_2_MAP = {
1641 '融资租赁期限': (1, None, 3, '融资租赁期限', None), 1641 '融资租赁期限': (1, None, 3, '融资租赁期限', None),
1642 '抵押人': (1, None, 3, '抵押人姓名/名称', None), 1642 '抵押人': (1, None, 3, '抵押人姓名/名称', None),
1643 '抵押人证件号码': (1, None, 3, '抵押人证件号码', None), 1643 '抵押人证件号码': (1, None, 3, '抵押人证件号码', None),
1644 '抵押人签字': (2, None, 3, '签字页-抵押人姓名', None), 1644 '抵押人签字': (2, None, 3, '签字页-抵押人签章', None),
1645 '抵押人配偶': (1, None, 3, '抵押人配偶姓名/名称', None), 1645 '抵押人配偶': (1, None, 3, '抵押人配偶姓名/名称', None),
1646 '抵押人配偶证件号码': (1, None, 3, '抵押人配偶证件号码', None), 1646 '抵押人配偶证件号码': (1, None, 3, '抵押人配偶证件号码', None),
1647 '抵押人配偶签字': (2, None, 3, '签字页-抵押人配偶姓名', None), 1647 '抵押人配偶签字': (2, None, 3, '签字页-抵押人配偶姓名', None),
......
...@@ -1015,6 +1015,13 @@ class Command(BaseCommand, LoggerMixin): ...@@ -1015,6 +1015,13 @@ class Command(BaseCommand, LoggerMixin):
1015 tmp_res = page_info_dict.get(str(pno2), {}).get(key1, '') 1015 tmp_res = page_info_dict.get(str(pno2), {}).get(key1, '')
1016 img_pno = pno1 1016 img_pno = pno1
1017 res[key] = tmp_res 1017 res[key] = tmp_res
1018 # 添加处理,
1019 # [售后回租合同] - 如果 key 是 "承租人签字", 且内容中包含 签署日期:XXXX, 则将签署日期去除
1020 # [车辆租赁抵押合同] - 如果 key 是 ""
1021 if key == '承租人签字' and '签署日期' in tmp_res:
1022 res[key] = tmp_res.split('签署日期')[0]
1023 if key == "抵押人签字" and "签署日期" in tmp_res:
1024 res[key] = tmp_res.split("签署日期")[0]
1018 res.setdefault(consts.IMG_PATH_KEY, dict())[key] = page_info_dict.get(str(img_pno), {}).get( 1025 res.setdefault(consts.IMG_PATH_KEY, dict())[key] = page_info_dict.get(str(img_pno), {}).get(
1019 consts.IMG_PATH_KEY, '') 1026 consts.IMG_PATH_KEY, '')
1020 else: 1027 else:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!