June SE part 1
Showing
1 changed file
with
9 additions
and
5 deletions
... | @@ -1104,7 +1104,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): | ... | @@ -1104,7 +1104,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): |
1104 | compare_info['bankInfo'] = bank_info | 1104 | compare_info['bankInfo'] = bank_info |
1105 | 1105 | ||
1106 | # 银行流水 -------------------------------------------------------------------- | 1106 | # 银行流水 -------------------------------------------------------------------- |
1107 | if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2']: | 1107 | if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2'] and \ |
1108 | cms_info.get('autoApprovedDetails', {}).get('PolicyComments', '') != '此申请无需提供流水': | ||
1108 | date_timedelta = 60 if auto else 90 | 1109 | date_timedelta = 60 if auto else 90 |
1109 | bs_role_list = [] | 1110 | bs_role_list = [] |
1110 | for applicant_type in consts.APPLICANT_TYPE_ORDER[:2]: | 1111 | for applicant_type in consts.APPLICANT_TYPE_ORDER[:2]: |
... | @@ -1203,7 +1204,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): | ... | @@ -1203,7 +1204,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): |
1203 | 1204 | ||
1204 | # 保单 ----------------------------------------------------------------------------------------------------------- | 1205 | # 保单 ----------------------------------------------------------------------------------------------------------- |
1205 | # is_insurance = 0 | 1206 | # is_insurance = 0 |
1206 | fp_campaign = cms_info.get('fpCampaign', '') | 1207 | # fp_campaign = cms_info.get('fpCampaign', '') |
1208 | fp_group = cms_info.get('fpGroup', '') | ||
1207 | # insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '') | 1209 | # insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '') |
1208 | # if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str): | 1210 | # if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str): |
1209 | # is_insurance = 1 | 1211 | # is_insurance = 1 |
... | @@ -1289,7 +1291,7 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): | ... | @@ -1289,7 +1291,7 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True): |
1289 | contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input | 1291 | contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input |
1290 | 1292 | ||
1291 | # HIL合同 车辆处置协议 -------------------------------------------------------------------------------------- | 1293 | # HIL合同 车辆处置协议 -------------------------------------------------------------------------------------- |
1292 | if fp_campaign.find('Joy_Select') != -1 or fp_campaign.find('JoySelect') != -1: | 1294 | if fp_group.find('Joy_Select') != -1 or fp_group.find('JoySelect') != -1: |
1293 | hil_contract_3_input = [ | 1295 | hil_contract_3_input = [ |
1294 | (consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no), | 1296 | (consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no), |
1295 | (consts.SE_HIL_CON_3_FIELD[1], main_name), | 1297 | (consts.SE_HIL_CON_3_FIELD[1], main_name), |
... | @@ -1616,7 +1618,8 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals | ... | @@ -1616,7 +1618,8 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals |
1616 | compare_info['bankInfo'] = bank_info | 1618 | compare_info['bankInfo'] = bank_info |
1617 | 1619 | ||
1618 | # 银行流水 -------------------------------------------------------------------- | 1620 | # 银行流水 -------------------------------------------------------------------- |
1619 | if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2']: | 1621 | if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2'] and \ |
1622 | cms_info.get('autoApprovedDetails', {}).get('PolicyComments', '') != '此申请无需提供流水': | ||
1620 | date_timedelta = 60 if auto else 90 | 1623 | date_timedelta = 60 if auto else 90 |
1621 | bs_role_list = [] | 1624 | bs_role_list = [] |
1622 | for applicant_type in consts.APPLICANT_TYPE_ORDER[:2]: | 1625 | for applicant_type in consts.APPLICANT_TYPE_ORDER[:2]: |
... | @@ -1716,6 +1719,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals | ... | @@ -1716,6 +1719,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals |
1716 | # 保单 ----------------------------------------------------------------------------------------------------------- | 1719 | # 保单 ----------------------------------------------------------------------------------------------------------- |
1717 | is_insurance = 0 | 1720 | is_insurance = 0 |
1718 | fp_campaign = cms_info.get('fpCampaign', '') | 1721 | fp_campaign = cms_info.get('fpCampaign', '') |
1722 | fp_group = cms_info.get('fpGroup', '') | ||
1719 | insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '') | 1723 | insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '') |
1720 | if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str): | 1724 | if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str): |
1721 | is_insurance = 1 | 1725 | is_insurance = 1 |
... | @@ -1801,7 +1805,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals | ... | @@ -1801,7 +1805,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals |
1801 | contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input | 1805 | contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input |
1802 | 1806 | ||
1803 | # HIL合同 车辆处置协议 -------------------------------------------------------------------------------------- | 1807 | # HIL合同 车辆处置协议 -------------------------------------------------------------------------------------- |
1804 | if fp_campaign.find('Joy_Select') != -1 or fp_campaign.find('JoySelect') != -1: | 1808 | if fp_group.find('Joy_Select') != -1 or fp_group.find('JoySelect') != -1: |
1805 | hil_contract_3_input = [ | 1809 | hil_contract_3_input = [ |
1806 | (consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no), | 1810 | (consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no), |
1807 | (consts.SE_HIL_CON_3_FIELD[1], main_name), | 1811 | (consts.SE_HIL_CON_3_FIELD[1], main_name), | ... | ... |
-
Please register or sign in to post a comment