5b24219b by 周伟奇

June SE part 1

1 parent 978980cb
......@@ -1104,7 +1104,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True):
compare_info['bankInfo'] = bank_info
# 银行流水 --------------------------------------------------------------------
if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2']:
if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2'] and \
cms_info.get('autoApprovedDetails', {}).get('PolicyComments', '') != '此申请无需提供流水':
date_timedelta = 60 if auto else 90
bs_role_list = []
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):
# 保单 -----------------------------------------------------------------------------------------------------------
# is_insurance = 0
fp_campaign = cms_info.get('fpCampaign', '')
# fp_campaign = cms_info.get('fpCampaign', '')
fp_group = cms_info.get('fpGroup', '')
# insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '')
# if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str):
# is_insurance = 1
......@@ -1289,7 +1291,7 @@ def get_se_cms_compare_info_auto(last_obj, application_entity, auto=True):
contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input
# HIL合同 车辆处置协议 --------------------------------------------------------------------------------------
if fp_campaign.find('Joy_Select') != -1 or fp_campaign.find('JoySelect') != -1:
if fp_group.find('Joy_Select') != -1 or fp_group.find('JoySelect') != -1:
hil_contract_3_input = [
(consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no),
(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
compare_info['bankInfo'] = bank_info
# 银行流水 --------------------------------------------------------------------
if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2']:
if cms_info.get('autoApprovedDetails', {}).get('aaType', '') in ['CAA1', 'CAA2'] and \
cms_info.get('autoApprovedDetails', {}).get('PolicyComments', '') != '此申请无需提供流水':
date_timedelta = 60 if auto else 90
bs_role_list = []
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
# 保单 -----------------------------------------------------------------------------------------------------------
is_insurance = 0
fp_campaign = cms_info.get('fpCampaign', '')
fp_group = cms_info.get('fpGroup', '')
insurance_type = cms_info.get('insuranceDetails', {}).get('insuranceType', '')
if insurance_type == 'Waive Insurance' and isinstance(insurance_price, str):
is_insurance = 1
......@@ -1801,7 +1805,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list, auto=Fals
contract_info[consts.HIL_CONTRACT_1_EN] = hil_contract_1_input
# HIL合同 车辆处置协议 --------------------------------------------------------------------------------------
if fp_campaign.find('Joy_Select') != -1 or fp_campaign.find('JoySelect') != -1:
if fp_group.find('Joy_Select') != -1 or fp_group.find('JoySelect') != -1:
hil_contract_3_input = [
(consts.SE_HIL_CON_3_FIELD[0], [full_no] if online_sign else full_no),
(consts.SE_HIL_CON_3_FIELD[1], main_name),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!