Commit b4e4c33c authored by xsh241908's avatar xsh241908

【建机】铁甲增加电子签约

parent af4431c1
......@@ -24,10 +24,13 @@
(select hm.id_card_no_leg
from hls_bp_master hm
where hm.bp_id = t1.bp_id_agent_level1) id_card_no_agent,
(SELECT i.machine_number
decode(t1.division,70,(SELECT i.machine_number_70
FROM con_contract_lease_item i
WHERE i.contract_id = t1.contract_id
AND i.equipment_type = 'MAIN') machine_number, --机号
AND i.equipment_type = 'MAIN'),(SELECT i.machine_number
FROM con_contract_lease_item i
WHERE i.contract_id = t1.contract_id
AND i.equipment_type = 'MAIN')) machine_number, --机号
t1.contract_status,
(select v.code_value_name
from sys_code_values_v v
......
......@@ -36,22 +36,27 @@ select *
from con_contract_lease_item ci
where ci.contract_id = t1.contract_id
and ci.equipment_type = 'MAIN') brand_id,
NVL((SELECT a.description
decode(t1.division,70,(select a.brand_value --update by xsh35973 20220323
from CON_CONTRACT_LEASE_ITEM a
where a.contract_id = t1.contract_id),NVL((SELECT a.description
FROM hls_car_brands_vl a
WHERE a.brand_id =
(select ci.brand_id
from con_contract_lease_item ci
where ci.contract_id = t1.contract_id
and ci.equipment_type = 'MAIN')),
'日立') brand_id_n,
'日立')) brand_id_n,
(select ci.modelcd
from con_contract_lease_item ci
where ci.contract_id = t1.contract_id
and ci.equipment_type = 'MAIN') modelcd, --机型
(SELECT i.machine_number
decode(t1.division,70,(SELECT i.machine_number_70 --update by xsh35973 20220323
FROM con_contract_lease_item i
WHERE i.contract_id = t1.contract_id
AND i.equipment_type = 'MAIN') machine_number, --机号
AND i.equipment_type = 'MAIN'),(SELECT i.machine_number
FROM con_contract_lease_item i
WHERE i.contract_id = t1.contract_id
AND i.equipment_type = 'MAIN')) machine_number, --机号
t1.lease_times, --期数
t1.lease_start_date, --起租日
(NVL(t1.down_payment, 0) + NVL(t1.residual_value, 0) +
......
......@@ -44,7 +44,21 @@ select fa.file_name,fa.file_path,fa.attachment_id
'S_LEASE_SURE_BUS_OEC','GUARANTEE_LETTER_OEC',
'S_LEASE_ORDER_OEC','ITEM_TRAN_NOTICE',
'S_LEASE_PAY_REQ_OEC','PAYMENT_REQ',
'S_LEASE_MOR_OEC','MORT_CONTRACT')
'S_LEASE_MOR_OEC','MORT_CONTRACT',
'FINANCE_LEASE_CONTRACT_TJ_S_E', --update by xsh35973 铁甲电子签约
'FINANCE_LEASE_CONTRACT_TJ_S_E',
'FINANCE_LEASE_CONTRACT_TJ_E',
'FINANCE_LEASE_CONTRACT_TJ_E',
'CON_COLLECTION_PAYMENT_TJ_E',
'CON_COLLECTION_PAYMENT_TJ_E',
'CON_CONTRACT_MORTGAGE_TJ_E',
'CON_CONTRACT_MORTGAGE_TJ_E',
'PERSONAL_CREDIT',
'PERSONAL_CREDIT',
'FINANCE_LEASE_CONTRACT_TJ_FR_E',
'FINANCE_LEASE_CONTRACT_TJ_FR_E',
'CON_GUR_NP',
'CON_GUR_NP')
from con_ele_signer_file cf, con_contract_ele_signer cs
where cf.con_ele_signer_id = cs.con_ele_signer_id
and cs.contract_id = ${@contract_id}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment