Commit f29d592d authored by chenzhuo's avatar chenzhuo

增加承租人展示

parent 4e7ac7fa
......@@ -88,6 +88,11 @@
where description_id = g.description_id
and language = 'ZHS') account_name,
t.contract_id,
(SELECT bpv.bp_name
FROM hls_bp_master_lv bpv,con_contract cc
WHERE bpv.bp_id = cc.bp_id_tenant
and cc.contract_id = t.contract_id
and rownum = 1) bp_id_telnet_n,
t.bp_id,
t.agent_bp_id,
((select v.bp_name from hls_bp_master v where v.bp_id = t.vender_id)||'/'||(SELECT v.code_value_name
......@@ -175,6 +180,11 @@
'小计:' account_id_n,
null account_name,
tt.contract_id,
(SELECT bpv.bp_name
FROM hls_bp_master_lv bpv,con_contract cc
WHERE bpv.bp_id = cc.bp_id_tenant
and cc.contract_id = tt.contract_id
and rownum = 1) bp_id_telnet_n,
tt.bp_id,
tt.agent_bp_id,
((select v.bp_name from hls_bp_master v where v.bp_id = tt.vender_id)||'/'||(SELECT v.code_value_name
......@@ -287,6 +297,7 @@
<bm:field name="contract_id"/>
<bm:field name="bp_code"/>
<bm:field name="contract_number"/>
<bm:field name="bp_id_telnet_n"/>
<bm:field name="bp_id_agent_level1_n"/>
<bm:field name="account_id_n"/>
<bm:field name="account_name"/>
......
......@@ -121,6 +121,7 @@
<a:columns>
<a:column name="division_n" align="center" prompt="租赁物" width="220"/>
<a:column name="bp_id_agent_level1_n" align="center" prompt="代理店" width="200"/>
<a:column name="bp_id_telnet_n" align="center" prompt="承租人" width="120"/>
<a:column name="contract_number" align="center" prompt="合同号" width="120"/>
<a:column name="business_type_n" align="center" prompt="业务类型" width="80"/>
<a:column name="bp_code" align="center" prompt="业务伙伴号" width="100"/>
......
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