Commit 7bb58570 authored by niminmin's avatar niminmin

Merge branch 'feature/合同文本增加pdf功能' into develop

parents c6d6ef11 ffb0567f
Pipeline #4907 canceled with stages
......@@ -185,125 +185,8 @@
FROM
CON_CONTRACT_CONTENT_V t1
WHERE
t1.templet_code !='GH_WITHHOLD_AGREE'
UNION ALL
SELECT
t1.content_id,
t1.contract_id,
t1.con_contract_bp_id,
t1.mortgage_id,
t1.content_number,
t1.content_print_flag,
t1.content_print_flag_name,
t1.bp_category,
t1.bp_category_desc,
t1.bp_class,
t1.bp_class_desc,
t1.bp_id,
t1.bp_name,
t1.available_flag,
t1.employee_id_witness_name,
t1.sign_date,
t1.sign_place,
t1.signer_opposite_side,
t1.notary,
t1.templet_id,
t1.templet_code,
t1.templet_name,
t1.templet_usage,
t1.clause_usage,
t1.clause_usage_name,
t1.ref_v01,
t1.ref_v02,
t1.ref_v03,
t1.ref_v04,
t1.ref_v05,
t1.ref_n01,
t1.ref_n02,
t1.ref_n03,
t1.ref_n04,
t1.ref_n05,
t1.ref_d01,
t1.ref_d02,
t1.ref_d03,
t1.ref_d04,
t1.ref_d05,
t1.couple_guarantee_flag,
(SELECT
COUNT(1)
FROM
fnd_atm_attachment_multi m
WHERE
m.table_name = 'CON_CONTRACT_CONTENT_WORKFLOW' AND
m.table_pk_value = TO_CHAR(t1.content_id)
) AS attach_count,
(SELECT
'Y'
FROM
fnd_atm_attachment_multi m1
WHERE
m1.table_name = 'CON_CONTRACT_CONTENT' AND
m1.table_pk_value = t1.content_id
) AS file_exists_flag,
CASE
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 2) >= 1 THEN
'2'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 3) >= 1 THEN
'3'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 4) >= 1 THEN
'4'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 5) >= 1 THEN
'5'
ELSE
'1'
END AS status,
CASE
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 2) >= 1 THEN
'部分签署'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 3) >= 1 THEN
'全部签署'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 4) >= 1 THEN
'已盖章'
WHEN (SELECT COUNT(*)
FROM con_contract_signature s
WHERE s.content_id = t1.content_id
AND s.status = 5) >= 1 THEN
'已拒绝'
ELSE
'未签署'
END AS status_desc,
(SELECT COUNT(*) FROM con_contract_signature s WHERE s.content_id = t1.content_id AND s.status = 4)download_flag,
t1.agent_content_flag,
t1.download_content_flag,
t1.agent_content_flag_name,
t1.download_content_flag_name,
t1.print_date
FROM
CON_CONTRACT_CONTENT_V t1
WHERE
t1.templet_code='GH_WITHHOLD_AGREE'
AND NVL(t1.withhold_way,'0') = 'SPD')t
t1.templet_usage in ('CON_SALE', 'CONTRACT')
)t
#WHERE_CLAUSE#
ORDER BY decode(t.bp_category,'TENANT',0,'GUARANTOR',1,'VENDER',2,'')
]]></bm:query-sql>
......
......@@ -49,6 +49,7 @@
m.table_pk_value = lt.templet_id AND
lt.templet_id = t.doc_template_id AND
t.doc_plugin_flag = 'Y' AND
t.templet_usage in ('CON_SALE', 'CONTRACT') and
t.templet_id = cc.templet_id AND
(
cc.content_id =${/parameter/@content_id} OR
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: gaoyang
$Date: 2015-6-10 下午03:17:55
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
faa.file_name,
faa.file_path,
faa.file_type_code,
(select 'Y' from dual where exists (SELECT
1
FROM
fnd_atm_attachment_multi m1
WHERE
m1.table_name = 'CON_CONTRACT_CONTENT' AND
m1.table_pk_value = cc.content_id)
) file_exists_flag,
cc.content_number
||'-'
||cc.bp_name
||'-'
||
(SELECT
t.project_number
FROM
con_contract ct,
prj_project t
WHERE
t.project_id = ct.project_id AND
ct.contract_id = cc.contract_id
) to_file_name,
lt.pwd,
cc.content_id
FROM
fnd_atm_attachment faa,
fnd_atm_attachment_multi m,
hls_doc_file_templet lt,
con_clause_templet t,
con_contract_content_v cc
WHERE
faa.attachment_id = m.attachment_id AND
m.table_name = 'HLS_DOC_FILE_TEMPLET' AND
m.table_pk_value = lt.templet_id AND
lt.templet_id = t.doc_template_id AND
t.templet_code=${/parameter/@templet_code} and
t.doc_plugin_flag = 'Y' AND
t.templet_id = cc.templet_id AND
(
cc.content_id =${/parameter/@content_id} OR
(
cc.contract_id =${/parameter/@contract_id} AND
${/parameter/@batch_flag}='Y'
)
)
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="file_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FILE_NAME"/>
<bm:field name="file_path" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FILE_PATH"/>
<bm:field name="file_type_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FILE_TYPE_CODE"/>
<bm:field name="file_exists_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FILE_EXISTS_FLAG"/>
<bm:field name="to_file_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TO_FILE_NAME"/>
<bm:field name="pwd" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PWD"/>
<bm:field name="content_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTENT_ID"/>
</bm:fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: WangYu
$Date: 2014-4-25 上午09:30:21
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select t.*,
m.bp_name bp_id_agent_level1_n,
(select m.bp_code from hls_bp_master m where m.bp_id = t.bp_id) bp_code,
(select contract_number from con_contract where contract_id=t.contract_id) contract_number,
g.account_code account_id_n,
(select description_text from fnd_descriptions where description_id = g.description_id and language = 'ZHS' ) account_name
from con_cashflow_monthly_temp t,hls_bp_master m,gld_accounts g
where m.bp_id = t.agent_bp_id
and g.account_id = t.account_id
and t.session_id = ${/session/@session_id}
order by t.contract_id desc,g.account_code
]]></bm:query-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
con_cashflow_monthly_pkg.insert_con_cash_temp(
p_session_id =>${/session/@session_id},
p_due_date =>to_date(${@due_date},'yyyy-mm-dd'),
p_user_id =>${/session/@user_id},
p_bp_id =>${@bp_id},
p_overday1 =>${@overday1},
p_overday2 =>${@overday2},
p_overday3 =>${@overday3},
p_not_overday1 =>${@not_overday1},
p_not_overday2 =>${@not_overday2},
p_not_overday3 =>${@not_overday3},
p_not_overday4 =>${@not_overday4},
p_not_overday5 =>${@not_overday5},
p_not_overday6 =>${@not_overday6});
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="contract_id"/>
<bm:field name="bp_code"/>
<bm:field name="contract_number"/>
<bm:field name="bp_id_agent_level1_n"/>
<bm:field name="account_id_n"/>
<bm:field name="account_name"/>
<bm:field name="unreceived_sum_amount"/>
<bm:field name="overdue_amount_1"/>
<bm:field name="overdue_amount_2"/>
<bm:field name="overdue_amount_3"/>
<bm:field name="overdue_amount_left"/>
<bm:field name="overdue_sum_amount"/>
<bm:field name="not_due_sum_amount"/>
<bm:field name="not_due_amount_1"/>
<bm:field name="not_due_amount_2"/>
<bm:field name="not_due_amount_3"/>
<bm:field name="not_due_amount_4"/>
<bm:field name="not_due_amount_5"/>
<bm:field name="not_due_amount_6"/>
<bm:field name="not_due_amount_left"/>
</bm:fields>
<!-- <bm:query-fields>-->
<!-- <bm:query-field field="bp_id_tenant_n" queryExpression="t1.bp_id_tenant_n = ${@bp_id_tenant_n}"/>-->
<!-- <bm:query-field field="account_name" queryExpression="t1.account_name = ${@account_name}"/>-->
<!-- <bm:query-field field="account_id_n" queryExpression="t1.account_id_n = ${@account_id_n}"/>-->
<!-- </bm:query-fields>-->
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: qwm
$Date: 2013-6-20 上午10:06:11
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:fields>
<bm:field name="account_id_n"/>
<bm:field name="account_name"/>
</bm:fields>
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
g.account_code account_id_n,
g.account_desc account_name,
g.account_id account_id
FROM
gld_accounts_v g #WHERE_CLAUSE#
WHERE
g.account_code IN ('1531000300', '1531000301', '1532000300') AND
g.ref_v01 IS NULL
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:query-fields>
<bm:query-field name="account_id_n" queryOperator="="/>
<bm:query-field name="account_name" queryOperator="="/>
</bm:query-fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
r<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
......
......@@ -36,6 +36,8 @@
m.table_pk_value = lt.templet_id AND
lt.templet_id = t.doc_template_id AND
t.doc_plugin_flag = 'Y' AND
t.templet_code=${/parameter/@templet_code}
and
pp.project_id = p.project_id AND
t.templet_id = pp.templet_id AND
(pp.content_id =${/parameter/@content_id} OR
......
......@@ -11,16 +11,16 @@ select to_number(to_char(add_months(sysdate, -1), 'YYYYMM')) value_code,
to_char(add_months(sysdate, -1), 'YYYY') || '年' ||
to_char(add_months(sysdate, -1), 'MM') || '月' value_name
from dual
union
select to_number(to_char(add_months(sysdate, -2), 'YYYYMM')) value_code,
to_char(add_months(sysdate, -2), 'YYYY') || '年' ||
to_char(add_months(sysdate, -2), 'MM') || '月' value_name
from dual
union
select to_number(to_char(add_months(sysdate, -3), 'YYYYMM')) value_code,
to_char(add_months(sysdate, -3), 'YYYY') || '年' ||
to_char(add_months(sysdate, -3), 'MM') || '月' value_name
from dual
--union
--select to_number(to_char(add_months(sysdate, -2), 'YYYYMM')) value_code,
-- to_char(add_months(sysdate, -2), 'YYYY') || '年' ||
-- to_char(add_months(sysdate, -2), 'MM') || '月' value_name
-- from dual
--union
--select to_number(to_char(add_months(sysdate, -3), 'YYYYMM')) value_code,
-- to_char(add_months(sysdate, -3), 'YYYY') || '年' ||
-- to_char(add_months(sysdate, -3), 'MM') || '月' value_name
-- from dual
order by value_code desc
]]></bm:query-sql>
</bm:operation>
......
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
v.code_value,
v.code_value_name
FROM
sys_code_values_v v
WHERE
v.code = ${@hn_industry_classification} AND -- IN ('WITHIN_GROUP', 'MARKETIZATION')
v.code_enabled_flag = 'Y' AND
v.code_value_enabled_flag = 'Y'
ORDER BY
v.code
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="code_value" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE"/>
<bm:field name="code_value_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE_NAME"/>
</bm:fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
v.business_type,
v.description
FROM
hls_business_type_v v
WHERE
v.business_type IN
(SELECT cc.business_type FROM con_contract cc WHERE cc.data_class = 'NORMAL'
)
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="business_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BUSINESS_TYPE"/>
<bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION"/>
</bm:fields>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT to_char(to_date(month||'01','YYYYMMDD'),'YYYY-MM-DD') AS DAY_1,
to_char(to_date(month||'01','YYYYMMDD') +1,'YYYY-MM-DD') AS DAY_2,
to_char(to_date(month||'01','YYYYMMDD') +2,'YYYY-MM-DD') AS DAY_3,
to_char(to_date(month||'01','YYYYMMDD') +3,'YYYY-MM-DD') AS DAY_4,
to_char(to_date(month||'01','YYYYMMDD') +4,'YYYY-MM-DD') AS DAY_5,
to_char(to_date(month||'01','YYYYMMDD') +5,'YYYY-MM-DD') AS DAY_6,
to_char(to_date(month||'01','YYYYMMDD') +6,'YYYY-MM-DD') AS DAY_7,
to_char(to_date(month||'01','YYYYMMDD') +7,'YYYY-MM-DD') AS DAY_8,
to_char(to_date(month||'01','YYYYMMDD') +8,'YYYY-MM-DD') AS DAY_9,
to_char(to_date(month||'01','YYYYMMDD') +9,'YYYY-MM-DD') AS DAY_10,
to_char(to_date(month||'01','YYYYMMDD') +10,'YYYY-MM-DD') AS DAY_11,
to_char(to_date(month||'01','YYYYMMDD') +11,'YYYY-MM-DD') AS DAY_12,
to_char(to_date(month||'01','YYYYMMDD') +12,'YYYY-MM-DD') AS DAY_13,
to_char(to_date(month||'01','YYYYMMDD') +13,'YYYY-MM-DD') AS DAY_14,
to_char(to_date(month||'01','YYYYMMDD') +14,'YYYY-MM-DD') AS DAY_15,
to_char(to_date(month||'01','YYYYMMDD') +15,'YYYY-MM-DD') AS DAY_16,
to_char(to_date(month||'01','YYYYMMDD') +16,'YYYY-MM-DD') AS DAY_17,
to_char(to_date(month||'01','YYYYMMDD') +17,'YYYY-MM-DD') AS DAY_18,
to_char(to_date(month||'01','YYYYMMDD') +18,'YYYY-MM-DD') AS DAY_19,
to_char(to_date(month||'01','YYYYMMDD') +19,'YYYY-MM-DD') AS DAY_20,
to_char(to_date(month||'01','YYYYMMDD') +20,'YYYY-MM-DD') AS DAY_21,
to_char(to_date(month||'01','YYYYMMDD') +21,'YYYY-MM-DD') AS DAY_22,
to_char(to_date(month||'01','YYYYMMDD') +22,'YYYY-MM-DD') AS DAY_23,
to_char(to_date(month||'01','YYYYMMDD') +23,'YYYY-MM-DD') AS DAY_24,
to_char(to_date(month||'01','YYYYMMDD') +24,'YYYY-MM-DD') AS DAY_25,
to_char(to_date(month||'01','YYYYMMDD') +25,'YYYY-MM-DD') AS DAY_26,
to_char(to_date(month||'01','YYYYMMDD') +26,'YYYY-MM-DD') AS DAY_27,
to_char(to_date(month||'01','YYYYMMDD') +27,'YYYY-MM-DD') AS DAY_28,
to_char(to_date(month||'01','YYYYMMDD') +28,'YYYY-MM-DD') AS DAY_29,
to_char(to_date(month||'01','YYYYMMDD') +29,'YYYY-MM-DD') AS DAY_30,
to_char(to_date(month||'01','YYYYMMDD') +30,'YYYY-MM-DD') AS DAY_31
FROM RPT5010_DAY_REPORT
where
month = ${@month}
and rownum=1
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters><![CDATA[
]]></bm:data-filters>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
SELECT
to_Char(amount_1,'FM999,999,999,999,990.00') amount_1,
to_Char(principal_1,'FM999,999,999,999,990.00') principal_1,
to_Char(interest_1,'FM999,999,999,999,990.00') interest_1,
to_Char(amount_2,'FM999,999,999,999,990.00') amount_2,
to_Char(principal_2,'FM999,999,999,999,990.00') principal_2,
to_Char(interest_2,'FM999,999,999,999,990.00') interest_2,
to_Char(amount_3,'FM999,999,999,999,990.00') amount_3,
to_Char(principal_3,'FM999,999,999,999,990.00') principal_3,
to_Char(interest_3,'FM999,999,999,999,990.00') interest_3,
to_Char(amount_4,'FM999,999,999,999,990.00') amount_4,
to_Char(principal_4,'FM999,999,999,999,990.00') principal_4,
to_Char(interest_4,'FM999,999,999,999,990.00') interest_4,
to_Char(amount_5,'FM999,999,999,999,990.00') amount_5,
to_Char(principal_5,'FM999,999,999,999,990.00') principal_5,
to_Char(interest_5,'FM999,999,999,999,990.00') interest_5,
to_Char(amount_6,'FM999,999,999,999,990.00') amount_6,
to_Char(principal_6,'FM999,999,999,999,990.00') principal_6,
to_Char(interest_6,'FM999,999,999,999,990.00') interest_6,
to_Char(amount_7,'FM999,999,999,999,990.00') amount_7,
to_Char(principal_7,'FM999,999,999,999,990.00') principal_7,
to_Char(interest_7,'FM999,999,999,999,990.00') interest_7,
to_Char(amount_8,'FM999,999,999,999,990.00') amount_8,
to_Char(principal_8,'FM999,999,999,999,990.00') principal_8,
to_Char(interest_8,'FM999,999,999,999,990.00') interest_8,
to_Char(amount_9,'FM999,999,999,999,990.00') amount_9,
to_Char(principal_9,'FM999,999,999,999,990.00') principal_9,
to_Char(interest_9,'FM999,999,999,999,990.00') interest_9,
to_Char(amount_10,'FM999,999,999,999,990.00') amount_10,
to_Char(principal_10,'FM999,999,999,999,990.00') principal_10,
to_Char(interest_10,'FM999,999,999,999,990.00') interest_10,
to_Char(amount_11,'FM999,999,999,999,990.00') amount_11,
to_Char(principal_11,'FM999,999,999,999,990.00') principal_11,
to_Char(interest_11,'FM999,999,999,999,990.00') interest_11,
to_Char(amount_12,'FM999,999,999,999,990.00') amount_12,
to_Char(principal_12,'FM999,999,999,999,990.00') principal_12,
to_Char(interest_12,'FM999,999,999,999,990.00') interest_12,
to_Char(amount_13,'FM999,999,999,999,990.00')amount_13,
to_Char(principal_13,'FM999,999,999,999,990.00') principal_13,
to_Char(interest_13,'FM999,999,999,999,990.00') interest_13,
to_Char(amount_14,'FM999,999,999,999,990.00') amount_14,
to_Char(principal_14,'FM999,999,999,999,990.00') principal_14,
to_Char(interest_14,'FM999,999,999,999,990.00') interest_14,
to_Char(amount_15,'FM999,999,999,999,990.00') amount_15,
to_Char(principal_15,'FM999,999,999,999,990.00') principal_15,
to_Char(interest_15,'FM999,999,999,999,990.00') interest_15,
to_Char(amount_16,'FM999,999,999,999,990.00') amount_16,
to_Char(principal_16,'FM999,999,999,999,990.00') principal_16,
to_Char(interest_16,'FM999,999,999,999,990.00') interest_16,
to_Char(amount_17,'FM999,999,999,999,990.00') amount_17,
to_Char(principal_17,'FM999,999,999,999,990.00') principal_17,
to_Char(interest_17,'FM999,999,999,999,990.00') interest_17,
to_Char(amount_18,'FM999,999,999,999,990.00') amount_18,
to_Char(principal_18,'FM999,999,999,999,990.00') principal_18,
to_Char(interest_18,'FM999,999,999,999,990.00') interest_18,
to_Char(amount_19,'FM999,999,999,999,990.00') amount_19,
to_Char(principal_19,'FM999,999,999,999,990.00') principal_19,
to_Char(interest_19,'FM999,999,999,999,990.00') interest_19,
to_Char(amount_20,'FM999,999,999,999,990.00') amount_20,
to_Char(principal_20,'FM999,999,999,999,990.00') principal_20,
to_Char(interest_20,'FM999,999,999,999,990.00') interest_20,
to_Char(amount_21,'FM999,999,999,999,990.00') amount_21,
to_Char(principal_21,'FM999,999,999,999,990.00') principal_21,
to_Char(interest_21,'FM999,999,999,999,990.00')interest_21,
to_Char(amount_22,'FM999,999,999,999,990.00') amount_22,
to_Char(principal_22,'FM999,999,999,999,990.00') principal_22,
to_Char(interest_22,'FM999,999,999,999,990.00') interest_22,
to_Char(amount_23,'FM999,999,999,999,990.00') amount_23,
to_Char(principal_23,'FM999,999,999,999,990.00') principal_23,
to_Char(interest_23,'FM999,999,999,999,990.00') interest_23,
to_Char(amount_24,'FM999,999,999,999,990.00') amount_24,
to_Char(principal_24,'FM999,999,999,999,990.00') principal_24,
to_Char(interest_24,'FM999,999,999,999,990.00') interest_24,
to_Char(amount_25,'FM999,999,999,999,990.00') amount_25,
to_Char(principal_25,'FM999,999,999,999,990.00') principal_25,
to_Char(interest_25,'FM999,999,999,999,990.00') interest_25,
to_Char(amount_26,'FM999,999,999,999,990.00') amount_26,
to_Char(principal_26,'FM999,999,999,999,990.00') principal_26,
to_Char(interest_26,'FM999,999,999,999,990.00') interest_26,
to_Char(amount_27,'FM999,999,999,999,990.00') amount_27,
to_Char(principal_27,'FM999,999,999,999,990.00') principal_27,
to_Char(interest_27,'FM999,999,999,999,990.00') interest_27,
to_Char(amount_28,'FM999,999,999,999,990.00') amount_28,
to_Char(principal_28,'FM999,999,999,999,990.00') principal_28,
to_Char(interest_28,'FM999,999,999,999,990.00') interest_28,
to_Char(amount_29,'FM999,999,999,999,990.00') amount_29,
to_Char(principal_29,'FM999,999,999,999,990.00') principal_29,
to_Char(interest_29,'FM999,999,999,999,990.00') interest_29,
to_Char(amount_30,'FM999,999,999,999,990.00') amount_30,
to_Char(principal_30,'FM999,999,999,999,990.00') principal_30,
to_Char(interest_30,'FM999,999,999,999,990.00') interest_30,
to_Char(amount_31,'FM999,999,999,999,990.00') amount_31,
to_Char(principal_31,'FM999,999,999,999,990.00') principal_31,
to_Char(interest_31,'FM999,999,999,999,990.00') interest_31,
t1.contract_id,
t1.contract_number,
t1.tenant_name,
t1.record_id
FROM
RPT5010_DAY_REPORT T1 #WHERE_CLAUSE#
order BY T1.contract_id desc
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<!-- <bm:fields>
<bm:field name="record_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECORD_ID" prompt="RPT5010_DAY_REPORT.RECORD_ID"/>
<bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="RPT5010_DAY_REPORT.CONTRACT_ID"/>
<bm:field name="contract_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CONTRACT_NUMBER" prompt="RPT5010_DAY_REPORT.CONTRACT_NUMBER"/>
<bm:field name="tenant_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TENANT_NAME" prompt="RPT5010_DAY_REPORT.TENANT"/>
<bm:field name="amount_1" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_1" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_1"/>
<bm:field name="principal_1" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_1" prompt="RPT5010_DAY_REPORT.PRINCIPAL_1"/>
<bm:field name="interest_1" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_1" prompt="RPT5010_DAY_REPORT.INTEREST_1"/>
<bm:field name="amount_2" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_2" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_2"/>
<bm:field name="principal_2" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_2" prompt="RPT5010_DAY_REPORT.PRINCIPAL_2"/>
<bm:field name="interest_2" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_2" prompt="RPT5010_DAY_REPORT.INTEREST_2"/>
<bm:field name="amount_3" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_3" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_3"/>
<bm:field name="principal_3" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_3" prompt="RPT5010_DAY_REPORT.PRINCIPAL_3"/>
<bm:field name="interest_3" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_3" prompt="RPT5010_DAY_REPORT.INTEREST_3"/>
<bm:field name="amount_4" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_4" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_4"/>
<bm:field name="principal_4" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_4" prompt="RPT5010_DAY_REPORT.PRINCIPAL_4"/>
<bm:field name="interest_4" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_4" prompt="RPT5010_DAY_REPORT.INTEREST_4"/>
<bm:field name="amount_5" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_5" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_5"/>
<bm:field name="principal_5" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_5" prompt="RPT5010_DAY_REPORT.PRINCIPAL_5"/>
<bm:field name="interest_5" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_5" prompt="RPT5010_DAY_REPORT.INTEREST_5"/>
<bm:field name="amount_6" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_6" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_6"/>
<bm:field name="principal_6" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_6" prompt="RPT5010_DAY_REPORT.PRINCIPAL_6"/>
<bm:field name="interest_6" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_6" prompt="RPT5010_DAY_REPORT.INTEREST_6"/>
<bm:field name="amount_7" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_7" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_7"/>
<bm:field name="principal_7" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_7" prompt="RPT5010_DAY_REPORT.PRINCIPAL_7"/>
<bm:field name="interest_7" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_7" prompt="RPT5010_DAY_REPORT.INTEREST_7"/>
<bm:field name="amount_8" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_8" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_8"/>
<bm:field name="principal_8" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_8" prompt="RPT5010_DAY_REPORT.PRINCIPAL_8"/>
<bm:field name="interest_8" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_8" prompt="RPT5010_DAY_REPORT.INTEREST_8"/>
<bm:field name="amount_9" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_9" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_9"/>
<bm:field name="principal_9" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_9" prompt="RPT5010_DAY_REPORT.PRINCIPAL_9"/>
<bm:field name="interest_9" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_9" prompt="RPT5010_DAY_REPORT.INTEREST_9"/>
<bm:field name="amount_10" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_10" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_10"/>
<bm:field name="principal_10" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_10" prompt="RPT5010_DAY_REPORT.PRINCIPAL_10"/>
<bm:field name="interest_10" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_10" prompt="RPT5010_DAY_REPORT.INTEREST_10"/>
<bm:field name="amount_11" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_11" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_11"/>
<bm:field name="principal_11" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_11" prompt="RPT5010_DAY_REPORT.PRINCIPAL_11"/>
<bm:field name="interest_11" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_11" prompt="RPT5010_DAY_REPORT.INTEREST_11"/>
<bm:field name="amount_12" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_12" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_12"/>
<bm:field name="principal_12" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_12" prompt="RPT5010_DAY_REPORT.PRINCIPAL_12"/>
<bm:field name="interest_12" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_12" prompt="RPT5010_DAY_REPORT.INTEREST_12"/>
<bm:field name="amount_13" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_13" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_13"/>
<bm:field name="principal_13" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_13" prompt="RPT5010_DAY_REPORT.PRINCIPAL_13"/>
<bm:field name="interest_13" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_13" prompt="RPT5010_DAY_REPORT.INTEREST_13"/>
<bm:field name="amount_14" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_14" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_14"/>
<bm:field name="principal_14" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_14" prompt="RPT5010_DAY_REPORT.PRINCIPAL_14"/>
<bm:field name="interest_14" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_14" prompt="RPT5010_DAY_REPORT.INTEREST_14"/>
<bm:field name="amount_15" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_15" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_15"/>
<bm:field name="principal_15" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_15" prompt="RPT5010_DAY_REPORT.PRINCIPAL_15"/>
<bm:field name="interest_15" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_15" prompt="RPT5010_DAY_REPORT.INTEREST_15"/>
<bm:field name="amount_16" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_16" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_16"/>
<bm:field name="principal_16" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_16" prompt="RPT5010_DAY_REPORT.PRINCIPAL_16"/>
<bm:field name="interest_16" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_16" prompt="RPT5010_DAY_REPORT.INTEREST_16"/>
<bm:field name="amount_17" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_17" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_17"/>
<bm:field name="principal_17" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_17" prompt="RPT5010_DAY_REPORT.PRINCIPAL_17"/>
<bm:field name="interest_17" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_17" prompt="RPT5010_DAY_REPORT.INTEREST_17"/>
<bm:field name="amount_18" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_18" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_18"/>
<bm:field name="principal_18" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_18" prompt="RPT5010_DAY_REPORT.PRINCIPAL_18"/>
<bm:field name="interest_18" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_18" prompt="RPT5010_DAY_REPORT.INTEREST_18"/>
<bm:field name="amount_19" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_19" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_19"/>
<bm:field name="principal_19" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_19" prompt="RPT5010_DAY_REPORT.PRINCIPAL_19"/>
<bm:field name="interest_19" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_19" prompt="RPT5010_DAY_REPORT.INTEREST_19"/>
<bm:field name="amount_20" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_20" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_20"/>
<bm:field name="principal_20" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_20" prompt="RPT5010_DAY_REPORT.PRINCIPAL_20"/>
<bm:field name="interest_20" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_20" prompt="RPT5010_DAY_REPORT.INTEREST_20"/>
<bm:field name="amount_21" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_21" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_21"/>
<bm:field name="principal_21" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_21" prompt="RPT5010_DAY_REPORT.PRINCIPAL_21"/>
<bm:field name="interest_21" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_21" prompt="RPT5010_DAY_REPORT.INTEREST_21"/>
<bm:field name="amount_22" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_22" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_22"/>
<bm:field name="principal_22" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_22" prompt="RPT5010_DAY_REPORT.PRINCIPAL_22"/>
<bm:field name="interest_22" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_22" prompt="RPT5010_DAY_REPORT.INTEREST_22"/>
<bm:field name="amount_23" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_23" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_23"/>
<bm:field name="principal_23" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_23" prompt="RPT5010_DAY_REPORT.PRINCIPAL_23"/>
<bm:field name="interest_23" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_23" prompt="RPT5010_DAY_REPORT.INTEREST_23"/>
<bm:field name="amount_24" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_24" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_24"/>
<bm:field name="principal_24" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_24" prompt="RPT5010_DAY_REPORT.PRINCIPAL_24"/>
<bm:field name="interest_24" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_24" prompt="RPT5010_DAY_REPORT.INTEREST_24"/>
<bm:field name="amount_25" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_25" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_25"/>
<bm:field name="principal_25" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_25" prompt="RPT5010_DAY_REPORT.PRINCIPAL_25"/>
<bm:field name="interest_25" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_25" prompt="RPT5010_DAY_REPORT.INTEREST_25"/>
<bm:field name="amount_26" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_26" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_26"/>
<bm:field name="principal_26" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_26" prompt="RPT5010_DAY_REPORT.PRINCIPAL_26"/>
<bm:field name="interest_26" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_26" prompt="RPT5010_DAY_REPORT.INTEREST_26"/>
<bm:field name="amount_27" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_27" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_27"/>
<bm:field name="principal_27" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_27" prompt="RPT5010_DAY_REPORT.PRINCIPAL_27"/>
<bm:field name="interest_27" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_27" prompt="RPT5010_DAY_REPORT.INTEREST_27"/>
<bm:field name="amount_28" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_28" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_28"/>
<bm:field name="principal_28" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_28" prompt="RPT5010_DAY_REPORT.PRINCIPAL_28"/>
<bm:field name="interest_28" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_28" prompt="RPT5010_DAY_REPORT.INTEREST_28"/>
<bm:field name="amount_29" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_29" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_29"/>
<bm:field name="principal_29" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_29" prompt="RPT5010_DAY_REPORT.PRINCIPAL_29"/>
<bm:field name="interest_29" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_29" prompt="RPT5010_DAY_REPORT.INTEREST_29"/>
<bm:field name="amount_30" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_30" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_30"/>
<bm:field name="principal_30" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_30" prompt="RPT5010_DAY_REPORT.PRINCIPAL_30"/>
<bm:field name="interest_30" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_30" prompt="RPT5010_DAY_REPORT.INTEREST_30"/>
<bm:field name="amount_31" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT_31" prompt="RPT5010_DAY_REPORT.ATTRIBUTE_31"/>
<bm:field name="principal_31" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PRINCIPAL_31" prompt="RPT5010_DAY_REPORT.PRINCIPAL_31"/>
<bm:field name="interest_31" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTEREST_31" prompt="RPT5010_DAY_REPORT.INTEREST_31"/>
</bm:fields> -->
<bm:data-filters><![CDATA[
]]></bm:data-filters>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select to_number(to_char(sysdate, 'YYYYMM')) value_code,
to_char(sysdate, 'YYYY') || '-' || to_char(sysdate, 'MM') value_name
from dual
union
select to_number(to_char(add_months(sysdate, -1), 'YYYYMM')) value_code,
to_char(add_months(sysdate, -1), 'YYYY') || '-' ||
to_char(add_months(sysdate, -1), 'MM') value_name
from dual
order by value_code desc
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters><![CDATA[
]]></bm:data-filters>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select rpt_batch_s.nextval batch_id from dual
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters><![CDATA[
]]></bm:data-filters>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wuts
$Date: 2018-12-21 上午10:43:21
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
rpt5010_not_write_off_pkg.calc_month_days(
p_month =>${@month},
p_user_id =>${/session/@user_id},
p_days => ${@days}
);
end;
]]></bm:update-sql>
<bm:parameters>
<bm:parameter name="days" dataType="java.lang.Long" input="true" output="true" outputPath="/parameter/@days"/>
</bm:parameters>
</bm:operation>
<bm:operation name="execute">
<bm:update-sql><![CDATA[
begin
rpt5010_not_write_off_pkg.rpt5010_run_job(
p_user_id =>${/session/@user_id}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
......@@ -57,19 +57,23 @@
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function () {
var contract_id = '${/parameter/@document_id}';
var templet_code = 'CON_LEASE_CONFIRM';
var url=$('con_lease_confirm_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
var url=$('con_lease_org_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
// var url=$('con_lease_confirm_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
window.open(url, '_self');
};
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function () {
var contract_id = '${/parameter/@document_id}';
var templet_code = 'CON_LEASE';
var url=$('con_lease_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
var url=$('con_lease_org_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
//var url=$('con_lease_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
window.open(url, '_self');
};
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
var contract_id = '${/parameter/@document_id}';
var templet_code = 'LEASE_RETURN';
window.open($('lease_return_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code, "_self");
var url=$('con_lease_org_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
//var url=$('lease_return_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
window.open(url, '_self');
};
function view_pdf(attachment_id) {
......@@ -141,9 +145,7 @@
if (!Leaf.isEmpty(temp[0])) {
var file_name = temp[0].toUpperCase();
var file_suffix = temp[0].substr(temp[0].lastIndexOf('.') + 1).toUpperCase();
if (file_name.indexOf('.PDF') >= 0) {
url = url + '<a href=javascript:view_pdf(\'' + temp[1] + '\')>' + temp[0] + '</a>' + ',';
} else if (file_suffix == 'BMP' || file_suffix == 'JPG' || file_suffix == 'JPEG' || file_suffix == 'PNG' || file_suffix == 'GIF') {
if (file_suffix == 'BMP' || file_suffix == 'JPG' || file_suffix == 'JPEG' || file_suffix == 'PNG' || file_suffix == 'GIF') {
url = url + '<a href=' + link + temp[1] + ' ref="img">' + temp[0] + '</a>' + ',';
} else {
url = url + '<a href=' + link + temp[1] + '>' + temp[0] + '</a>' + ',';
......
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true">
<a:init-procedure>
<s:server-script import="con_print_path.js"><![CDATA[
<s:server-script import="contract_print_path.js"><![CDATA[
importPackage(java.io);
importPackage(Packages.hls.plugin.docx4j)
importPackage(Packages.hls.plugin.docx4j);
importPackage(Packages.leaf.plugin.word2pdf);
importPackage(Packages.org.apache.commons.io);
......@@ -22,6 +23,18 @@
}
}
//生成pdf
function wordToPdf(word_file_path,pdf_file_path) {
// word转pdf
var pdf_file_path_new = pdf_file_path + '.pdf';
var wordToPdf = new WordToPdf($instance('uncertain.ocm.IObjectRegistry'), "jacob-1.18-x64.dll");
wordToPdf.word2pdf(word_file_path, pdf_file_path_new);
//删除word文件
// deleteFile(word_file_path);
return pdf_file_path_new;
}
function copyFile(fOld, fNew) {
var fis = new java.io.FileInputStream(fOld);
var fos = new java.io.FileOutputStream(fNew);
......@@ -38,7 +51,7 @@
function getDatePath() {
set_parameter_file_path();
var file_path = $ctx.parameter.file_path; //file_path = c:/hls_test_files/content_files/
var file_path = $ctx.parameter.pdf_path; //file_path = c:/hls_test_files/content_files/
var now = new Date()
y = now.getFullYear()
m = now.getMonth() + 1
......@@ -68,7 +81,7 @@
try {
var os = resp.getOutputStream();
write_os_to_file(file_path, os);
//write_os_to_file(file_path+file_name, os);
os.flush();
} catch (e) {
$logger("server-script").severe(e.message);
......@@ -83,13 +96,13 @@
templet_code: $ctx.parameter.templet_code
});
//获取日期目录
set_parameter_file_path();
var datePath = getDatePath();
$ctx.parameter.batch_flag='Y';
FileUtils.forceMkdir(new File(datePath)); //根据日期创建目录
var from_file_data_map = $bm('cont.CON500.con_doc_file_templet_get_atm').queryAsMap({
var from_file_data_map = $bm('cont.CON500.con_doc_file_templet_get_atm_new').queryAsMap({
contract_id: $ctx.parameter.contract_id,
batch_flag:$ctx.parameter.batch_flag,
templet_code: $ctx.parameter.templet_code
});
var from_file_data = from_file_data_map.getChildren();
for (var i = 0;i < from_file_data.length;i++) {
......@@ -109,15 +122,31 @@
} catch (e) {
raise_app_error(e);
}
$bm('cont.CON500.con_file_content_copy_update').update({
// word转pdf
var pdf_file_path=to_file_path;
var outputfilepath = wordToPdf(to_file_path,pdf_file_path);
var outputfilename= record_data.to_file_name +'.pdf';
var pdf_file = new File(outputfilepath);
var file_size = 0;
if (pdf_file.exists()) {
file_size = pdf_file.length();
}
//保存文本名及路径
$bm('cont.CON500.con_file_content_copy_update').execute({
table_name: 'CON_CONTRACT_CONTENT',
content_id: record_data.content_id,
file_name: to_file_name.toString(),
file_path: to_file_path.toString()
file_name: outputfilename.toString(),
file_path: outputfilepath.toString(),
file_size: file_size,
file_type_code: 'pdf',
mime_type: 'application/pdf',
user_id: $ctx.parameter.user_id
});
var test=new File(to_file_path);
var test1=new File('D:'+to_file_path);
download_file(to_file_path.toString(),to_file_name.toString());
download_file(outputfilepath.toString(),outputfilename.toString());
}
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: WangYu
$Date: 2014-4-25 上午09:31:11
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
<a:view>
<a:link id="con_cashflow_pre_query_id" model="cont.CON930.con_contract_cashflow_monthly" modelaction="update"/>
<script><![CDATA[
function CON321_con_contract_query() {
if ($('con_contract_cashflow_monthly_query_ds').validate()){
var headers_ds = $('con_contract_cashflow_monthly_query_ds');
var record = headers_ds.getAt(0);
Leaf.Masker.mask(Ext.getBody(), '${l:HLS.SAVING}');
Leaf.request({
url: $('con_cashflow_pre_query_id').getUrl(),
para: {
due_date : record.get('due_date'),
bp_id : record.get('bp_id_agent_level1'),
overday1:record.get('overdue_day1'),
overday2:record.get('overdue_day2'),
overday3:record.get('overdue_day3'),
not_overday1:record.get('not_overday1'),
not_overday2:record.get('not_overday2'),
not_overday3:record.get('not_overday3'),
not_overday4:record.get('not_overday4'),
not_overday5:record.get('not_overday5'),
not_overday6:record.get('not_overday6')
},
success: function(res) {
Leaf.Masker.unmask (Ext.getBody());
$('con_contract_cashflow_monthly_result_ds').query();
},
failure: function() {
Leaf.Masker.unmask (Ext.getBody());
},
error: function() {
Leaf.Masker.unmask (Ext.getBody());
},
scope: this
});
}
}
function CON321_con_contract_reset() {
$('con_contract_cashflow_monthly_query_ds').reset();
}
]]></script>
<a:dataSets>
<a:dataSet id="gld_accounts_ds" loadData="true" model="cont.CON930.gld_accounts_ds"/>
<a:dataSet id="con_contract_cashflow_monthly_query_ds" autoCreate="true">
<a:fields>
<a:field name="due_date" required="true" prompt="基准日期"/>
<a:field name="bp_id_agent_level1" required="true" />
<a:field name="account_name" displayField="account_name" options="gld_accounts_ds" returnField="account_id" valueField="account_id"/>
<a:field name="bp_id_agent_level1_n" prompt="代理店" required="true" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov?bp_category=AGENT" lovWidth="500" title="HLS.BP_TITLE" >
<a:mapping>
<a:map from="bp_id" to="bp_id_agent_level1"/>
<a:map from="bp_name" to="bp_id_agent_level1_n" />
</a:mapping>
</a:field>
<a:field name="overdue_day1" required="true" prompt="已到期1个月界定天数" defaultValue="30"/>
<a:field name="overdue_day2" required="true" prompt="已到期2个月界定天数" defaultValue="60"/>
<a:field name="overdue_day3" required="true" prompt="已到期3个月界定天数" defaultValue="90"/>
<a:field name="not_overday1" required="true" prompt="未到期1个月界定天数" defaultValue="30"/>
<a:field name="not_overday2" required="true" prompt="未到期2个月界定天数" defaultValue="60"/>
<a:field name="not_overday3" required="true" prompt="未到期3个月界定天数" defaultValue="90"/>
<a:field name="not_overday4" required="true" prompt="未到期4个月界定天数" defaultValue="120"/>
<a:field name="not_overday5" required="true" prompt="未到期5个月界定天数" defaultValue="150"/>
<a:field name="not_overday6" required="true" prompt="未到期6个月界定天数" defaultValue="180"/>
</a:fields>
</a:dataSet>
<a:dataSet id="con_contract_cashflow_monthly_result_ds" model="cont.CON930.con_contract_cashflow_monthly" autoPageSize="true" queryDataSet="con_contract_cashflow_monthly_query_ds"/>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:gridButton click="CON321_con_contract_query" text="HLS.QUERY"/>
<a:gridButton click="CON321_con_contract_reset" text="HLS.RESET"/>
</a:screenTopToolbar>
<a:form bindTarget="con_contract_cashflow_balance_query_ds" column="6" title="收付款预定查询" marginWidth="40">
<a:datePicker name="due_date" bindTarget="con_contract_cashflow_monthly_query_ds"/>
<a:lov name="bp_id_agent_level1_n" bindTarget="con_contract_cashflow_monthly_query_ds"/>
<a:numberField name="overdue_day1" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="overdue_day2" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="overdue_day3" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday1" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday2" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday3" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday4" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday5" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<a:numberField name="not_overday6" bindTarget="con_contract_cashflow_monthly_query_ds" allowDecimals="false"/>
<!-- <a:comboBox name="account_name" bindTarget="con_contract_cashflow_monthly_query_ds" prompt="科目"/>-->
</a:form>
<a:grid id="con_contract_cashflow_monthly_result_grid" bindTarget="con_contract_cashflow_monthly_result_ds" marginHeight="150" navBar="true" marginWidth="40">
<a:toolBar>
<a:button type="excel"/>
</a:toolBar>
<a:columns>
<a:column name="bp_id_agent_level1_n" align="center" prompt="代理店" width="120"/>
<a:column name="contract_number" align="center" prompt="合同号" width="120"/>
<a:column name="bp_code" align="center" prompt="业务伙伴号" width="100"/>
<a:column name="account_id_n" align="center" prompt="科目代码" width="80"/>
<a:column name="account_name" align="center" prompt="科目名称" width="180"/>
<a:column name="unreceived_sum_amount" align="center" prompt="总额" renderer="Leaf.formatMoney" width="80"/>
<a:column name="overdue_amount_1" align="center" prompt="已到期1个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="overdue_amount_2" align="center" prompt="已到期2个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="overdue_amount_3" align="center" prompt="已到期3个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="overdue_amount_left" align="center" prompt="已到期3个月以上" renderer="Leaf.formatMoney" width="80"/>
<a:column name="overdue_sum_amount" align="center" prompt="已到期余额合计" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_sum_amount" align="center" prompt="未到期余额" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_1" align="center" prompt="未到期1个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_2" align="center" prompt="未到期2个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_3" align="center" prompt="未到期3个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_4" align="center" prompt="未到期4个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_5" align="center" prompt="未到期5个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_6" align="center" prompt="未到期6个月" renderer="Leaf.formatMoney" width="80"/>
<a:column name="not_due_amount_left" align="center" prompt="未到期6个月以上" renderer="Leaf.formatMoney" width="80"/>
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true">
<a:init-procedure>
<s:server-script import="con_print_path.js"><![CDATA[
<s:server-script import="contract_print_path.js"><![CDATA[
importPackage(java.io);
importPackage(Packages.hls.plugin.docx4j)
importPackage(Packages.hls.plugin.docx4j);
importPackage(Packages.leaf.plugin.word2pdf);
importPackage(Packages.org.apache.commons.io);
......@@ -22,6 +23,19 @@
}
}
//生成pdf
function wordToPdf(word_file_path,pdf_file_path) {
// word转pdf
var pdf_file_path_new = pdf_file_path + '.pdf';
var wordToPdf = new WordToPdf($instance('uncertain.ocm.IObjectRegistry'), "jacob-1.18-x64.dll");
wordToPdf.word2pdf(word_file_path, pdf_file_path_new);
//删除word文件
// deleteFile(word_file_path);
return pdf_file_path_new;
}
function copyFile(fOld, fNew) {
var fis = new java.io.FileInputStream(fOld);
var fos = new java.io.FileOutputStream(fNew);
......@@ -38,7 +52,7 @@
function getDatePath() {
set_parameter_file_path();
var file_path = $ctx.parameter.file_path; //file_path = c:/hls_test_files/content_files/
var file_path = $ctx.parameter.pdf_path; //file_path = c:/hls_test_files/content_files/
var now = new Date()
y = now.getFullYear()
m = now.getMonth() + 1
......@@ -83,14 +97,15 @@
templet_code: $ctx.parameter.templet_code
});
//获取日期目录
set_parameter_file_path();
var datePath = getDatePath();
$ctx.parameter.batch_flag = 'Y';
FileUtils.forceMkdir(new File(datePath)); //根据日期创建目录
var from_file_data_map = $bm('prj.PRJ501N.prj_doc_file_templet_get_atm').queryAsMap({
project_id_id: $ctx.parameter.project_id,
project_id: $ctx.parameter.project_id,
batch_flag: $ctx.parameter.batch_flag,
templet_code: $ctx.parameter.templet_code
});
var from_file_data = from_file_data_map.getChildren();
for (var i = 0; i < from_file_data.length; i++) {
......@@ -101,7 +116,7 @@
var from_file_path = record_data.file_path;
var guid_file_name_path = $bm('cont.CON500.con_contract_get_guid_file_name').queryAsMap();
var guid_file_name_tables = guid_file_name_path.getChildren();
to_file_path = datePath + guid_file_name_tables[0].guid_file_name + 'con' + record_data.content_id;
to_file_path = datePath + guid_file_name_tables[0].guid_file_name + 'prj' + record_data.content_id;
copyFile(from_file_path, to_file_path);
try {
var brwt = new BookmarksReplaceWithText($instance('leaf.database.service.IDatabaseServiceFactory'), $instance('uncertain.ocm.IObjectRegistry'), $ctx.getData());
......@@ -109,16 +124,34 @@
} catch (e) {
raise_app_error(e);
}
$bm('prj.PRJ501N.prj_file_content_copy_update').update({
// word转pdf
var pdf_file_path=to_file_path;
var outputfilepath = wordToPdf(to_file_path,pdf_file_path);
var outputfilename= record_data.to_file_name +'.pdf';
var pdf_file = new File(outputfilepath);
var file_size = 0;
if (pdf_file.exists()) {
file_size = pdf_file.length();
}
//保存文本名及路径
$bm('cont.CON500.con_file_content_copy_update').execute({
table_name: 'PRJ_PROJECT_CONTENT',
content_id: record_data.content_id,
file_name: to_file_name.toString(),
file_path: to_file_path.toString(),
source_type: 'PROJECT'
file_name: outputfilename.toString(),
file_path: outputfilepath.toString(),
file_size: file_size,
file_type_code: 'pdf',
mime_type: 'application/pdf',
source_type: 'PROJECT',
user_id: $ctx.parameter.user_id
});
var test = new File(to_file_path);
var test1 = new File('D:' + to_file_path);
download_file(to_file_path.toString(), to_file_name.toString());
download_file(outputfilepath.toString(), outputfilename.toString());
}
}
......
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="" fetchAll="true" model="rpt.RPT5010.rpt5010_result_query" rootPath="/model/datasource"/>
<a:model-query fetchAll="true" model="rpt.RPT5010.rpt5010_date" rootPath="/model/day"/>
<dr:excel-report enableTask="false" filename="${/parameter/@file_name}">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_LEFT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_CENTER" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" cell_style_id="2" foregroundcolor="BLACK">
<dr:font cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="sheet1" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119" displayGridlines="true">
<dr:static-content cell="A" dataModel="/model/day" row="1">
<dr:cell-data cell="A" offset="false" range="$A$1:$A$2" row="1" styleName="cell3" type="content" value="合同编号"/>
<dr:cell-data cell="B" offset="false" range="$B$1:$D$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="E" offset="false" range="$E$1:$G$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="H" offset="false" range="$H$1:$J$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="K" offset="false" range="$K$1:$M$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="N" offset="false" range="$N$1:$P$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="Q" offset="false" range="$Q$1:$S$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="T" offset="false" range="$T$1:$V$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="W" offset="false" range="$W$1:$Y$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Z" offset="false" range="$Z$1:$AB$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AC" offset="false" range="$AC$1:$AE$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AF" offset="false" range="$AF$1:$AH$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AI" offset="false" range="$AI$1:$AK$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AL" offset="false" range="$AL$1:$AN$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AO" offset="false" range="$AO$1:$AQ$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AR" offset="false" range="$AR$1:$AT$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AU" offset="false" range="$AU$1:$AW$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AX" offset="false" range="$AX$1:$AZ$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BA" offset="false" range="$BA$1:$BC$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BD" offset="false" range="$BD$1:$BF$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BG" offset="false" range="$BG$1:$BI$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BJ" offset="false" range="$BJ$1:$BL$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BM" offset="false" range="$BM$1:$BO$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BP" offset="false" range="$BP$1:$BR$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BS" offset="false" range="$BS$1:$BU$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BV" offset="false" range="$BV$1:$BX$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BY" offset="false" range="$BY$1:$CA$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CB" offset="false" range="$CB$1:$CD$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CE" offset="false" range="$CE$1:$CG$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CH" offset="false" range="$CH$1:$CJ$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CK" offset="false" range="$CK$1:$CM$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CN" offset="false" range="$CN$1:$CP$1" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_31}"/>
</dr:static-content>
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="2">
<dr:columns>
<dr:table-column cellStyle="cell1" field="contract_number" title="合同编号" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_1" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_1" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_1" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_2" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_2" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_2" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_3" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_3" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_3" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_4" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_4" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_4" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_5" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_5" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_5" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_6" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_6" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_6" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_7" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_7" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_7" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_8" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_8" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_8" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_9" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_9" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_9" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_10" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_10" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_10" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_11" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_11" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_11" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_12" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_12" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_12" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_13" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_13" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_13" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_14" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_14" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_14" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_15" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_15" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_15" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_16" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_16" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_16" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_17" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_17" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_17" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_18" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_18" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_18" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_19" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_19" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_19" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_20" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_20" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_20" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_21" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_21" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_21" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_22" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_22" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_22" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_23" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_23" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_23" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_24" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_24" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_24" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_25" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_25" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_25" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_26" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_26" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_26" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_27" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_27" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_27" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_28" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_28" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_28" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_29" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_29" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_29" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_30" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_30" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_30" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_31" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_31" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_31" title="利息总额(未核销)" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month} " fetchAll="true" model="rpt.RPT5010.rpt5010_result_query" rootPath="/model/datasource"/>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month}" fetchAll="true" model="rpt.RPT5010.rpt5010_date" rootPath="/model/day"/>
<dr:excel-report enableTask="false" filename="${/parameter/@file_name}">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_LEFT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_CENTER" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" cell_style_id="2" foregroundcolor="BLACK">
<dr:font cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="sheet1" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119" displayGridlines="true">
<dr:static-content cell="A" dataModel="/model/day" row="1">
<dr:cell-data cell="A" offset="false" row="1" styleName="cell3" type="content" value="承租人名称"/>
<dr:cell-data cell="B" offset="false" row="1" styleName="cell3" type="content" value="合同编号"/>
<dr:cell-data cell="C" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="D" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="E" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="F" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="G" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="H" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="I" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="J" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="K" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="L" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="M" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="N" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="O" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="P" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="Q" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="R" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="S" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="T" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="U" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="V" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="W" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="X" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Y" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Z" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="AA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="AZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
</dr:static-content>
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="2">
<dr:columns>
<dr:table-column cellStyle="cell1" field="tenant_name" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="contract_number" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_1" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_1" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_1" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_2" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_2" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_2" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_3" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_3" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_3" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_4" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_4" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_4" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_5" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_5" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_5" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_6" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_6" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_6" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_7" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_7" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_7" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_8" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_8" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_8" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_9" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_9" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_9" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_10" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_10" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_10" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_11" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_11" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_11" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_12" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_12" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_12" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_13" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_13" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_13" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_14" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_14" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_14" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_15" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_15" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_15" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_16" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_16" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_16" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_17" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_17" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_17" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_18" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_18" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_18" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_19" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_19" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_19" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_20" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_20" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_20" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_21" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_21" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_21" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_22" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_22" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_22" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_23" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_23" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_23" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_24" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_24" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_24" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_25" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_25" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_25" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_26" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_26" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_26" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_27" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_27" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_27" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_28" title="租金总额(未核销)" titlestyle="header" type="money"/>
<dr:table-column cellStyle="cell2" field="principal_28" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_28" title="利息总额(未核销)" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month} " fetchAll="true" model="rpt.RPT5010.rpt5010_result_query" rootPath="/model/datasource"/>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month}" fetchAll="true" model="rpt.RPT5010.rpt5010_date" rootPath="/model/day"/>
<dr:excel-report enableTask="false" filename="${/parameter/@file_name}">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_LEFT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_CENTER" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" cell_style_id="2" foregroundcolor="BLACK">
<dr:font cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="sheet1" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119" displayGridlines="true">
<dr:static-content cell="A" dataModel="/model/day" row="1">
<dr:cell-data cell="A" offset="false" row="1" styleName="cell3" type="content" value="承租人名称"/>
<dr:cell-data cell="B" offset="false" row="1" styleName="cell3" type="content" value="合同编号"/>
<dr:cell-data cell="C" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="D" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="E" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="F" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="G" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="H" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="I" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="J" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="K" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="L" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="M" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="N" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="O" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="P" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="Q" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="R" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="S" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="T" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="U" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="V" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="W" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="X" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Y" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Z" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="AA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="AZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
</dr:static-content>
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="2">
<dr:columns>
<dr:table-column cellStyle="cell1" field="tenant_name" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="contract_number" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_1" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_1" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_1" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_2" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_2" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_2" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_3" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_3" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_3" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_4" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_4" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_4" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_5" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_5" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_5" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_6" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_6" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_6" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_7" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_7" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_7" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_8" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_8" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_8" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_9" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_9" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_9" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_10" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_10" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_10" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_11" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_11" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_11" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_12" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_12" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_12" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_13" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_13" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_13" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_14" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_14" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_14" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_15" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_15" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_15" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_16" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_16" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_16" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_17" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_17" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_17" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_18" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_18" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_18" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_19" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_19" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_19" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_20" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_20" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_20" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_21" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_21" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_21" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_22" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_22" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_22" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_23" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_23" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_23" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_24" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_24" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_24" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_25" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_25" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_25" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_26" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_26" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_26" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_27" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_27" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_27" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_28" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_28" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_28" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_29" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_29" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_29" title="利息总额(未核销)" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month} " fetchAll="true" model="rpt.RPT5010.rpt5010_result_query" rootPath="/model/datasource"/>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month}" fetchAll="true" model="rpt.RPT5010.rpt5010_date" rootPath="/model/day"/>
<dr:excel-report enableTask="false" filename="${/parameter/@file_name}">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_LEFT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_CENTER" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" cell_style_id="2" foregroundcolor="BLACK">
<dr:font cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="sheet1" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119" displayGridlines="true">
<dr:static-content cell="A" dataModel="/model/day" row="1">
<dr:cell-data cell="A" offset="false" row="1" styleName="cell3" type="content" value="承租人名称"/>
<dr:cell-data cell="B" offset="false" row="1" styleName="cell3" type="content" value="合同编号"/>
<dr:cell-data cell="C" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="D" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="E" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="F" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="G" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="H" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="I" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="J" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="K" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="L" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="M" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="N" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="O" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="P" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="Q" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="R" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="S" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="T" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="U" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="V" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="W" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="X" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Y" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Z" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="AA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="AZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
</dr:static-content>
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="2">
<dr:columns>
<dr:table-column cellStyle="cell1" field="tenant_name" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="contract_number" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_1" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_1" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_1" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_2" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_2" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_2" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_3" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_3" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_3" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_4" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_4" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_4" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_5" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_5" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_5" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_6" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_6" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_6" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_7" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_7" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_7" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_8" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_8" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_8" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_9" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_9" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_9" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_10" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_10" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_10" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_11" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_11" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_11" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_12" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_12" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_12" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_13" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_13" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_13" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_14" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_14" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_14" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_15" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_15" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_15" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_16" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_16" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_16" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_17" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_17" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_17" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_18" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_18" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_18" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_19" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_19" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_19" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_20" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_20" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_20" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_21" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_21" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_21" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_22" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_22" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_22" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_23" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_23" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_23" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_24" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_24" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_24" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_25" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_25" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_25" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_26" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_26" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_26" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_27" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_27" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_27" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_28" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_28" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_28" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_29" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_29" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_29" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_30" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_30" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_30" title="利息总额(未核销)" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:dr="leaf.plugin.excelreport" trace="true">
<a:init-procedure>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month}" fetchAll="true" model="rpt.RPT5010.rpt5010_result_query" rootPath="/model/datasource"/>
<a:model-query defaultWhereClause="t1.month =${/parameter/@month}" fetchAll="true" model="rpt.RPT5010.rpt5010_date" rootPath="/model/day"/>
<dr:excel-report enableTask="false" filename="${/parameter/@file_name}">
<dr:styles>
<dr:cell-style name="cell1" align="ALIGN_LEFT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="宋体" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell2" align="ALIGN_RIGHT" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="cell3" align="ALIGN_CENTER" vertical="VERTICAL_CENTER">
<dr:font bold="false" fontName="Arial" height="9"/>
</dr:cell-style>
<dr:cell-style name="header" cell_style_id="2" foregroundcolor="BLACK">
<dr:font cell_style_id="2" fontname="宋体" height="10"/>
</dr:cell-style>
</dr:styles>
<dr:sheets>
<dr:sheet name="sheet1" autoSizeColumns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119" displayGridlines="true">
<dr:static-content cell="A" dataModel="/model/day" row="1">
<dr:cell-data cell="A" offset="false" row="1" styleName="cell3" type="content" value="承租人名称"/>
<dr:cell-data cell="B" offset="false" row="1" styleName="cell3" type="content" value="合同编号"/>
<dr:cell-data cell="C" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="D" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="E" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_1}"/>
<dr:cell-data cell="F" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="G" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="H" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_2}"/>
<dr:cell-data cell="I" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="J" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="K" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_3}"/>
<dr:cell-data cell="L" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="M" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="N" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_4}"/>
<dr:cell-data cell="O" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="P" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="Q" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_5}"/>
<dr:cell-data cell="R" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="S" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="T" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_6}"/>
<dr:cell-data cell="U" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="V" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="W" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_7}"/>
<dr:cell-data cell="X" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Y" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="Z" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_8}"/>
<dr:cell-data cell="AA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_9}"/>
<dr:cell-data cell="AD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_10}"/>
<dr:cell-data cell="AG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_11}"/>
<dr:cell-data cell="AJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_12}"/>
<dr:cell-data cell="AM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_13}"/>
<dr:cell-data cell="AP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_14}"/>
<dr:cell-data cell="AS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_15}"/>
<dr:cell-data cell="AV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_16}"/>
<dr:cell-data cell="AY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="AZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_17}"/>
<dr:cell-data cell="BB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_18}"/>
<dr:cell-data cell="BE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_19}"/>
<dr:cell-data cell="BH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_20}"/>
<dr:cell-data cell="BK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_21}"/>
<dr:cell-data cell="BN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_22}"/>
<dr:cell-data cell="BQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BR" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BS" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_23}"/>
<dr:cell-data cell="BT" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BU" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BV" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_24}"/>
<dr:cell-data cell="BW" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BX" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BY" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_25}"/>
<dr:cell-data cell="BZ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CA" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CB" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_26}"/>
<dr:cell-data cell="CC" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CD" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CE" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_27}"/>
<dr:cell-data cell="CF" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CG" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CH" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_28}"/>
<dr:cell-data cell="CI" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CJ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CK" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_29}"/>
<dr:cell-data cell="CL" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CM" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CN" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_30}"/>
<dr:cell-data cell="CO" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_31}"/>
<dr:cell-data cell="CP" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_31}"/>
<dr:cell-data cell="CQ" offset="false" row="1" styleName="cell3" type="content" value="${/model/day/record/@day_31}"/>
</dr:static-content>
<dr:dynamic-content cell="A" dataModel="/model/datasource" row="2">
<dr:columns>
<dr:table-column cellStyle="cell1" field="tenant_name" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell1" field="contract_number" title="" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_1" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_1" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_1" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_2" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_2" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_2" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_3" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_3" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_3" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_4" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_4" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_4" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_5" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_5" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_5" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_6" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_6" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_6" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_7" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_7" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_7" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_8" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_8" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_8" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_9" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_9" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_9" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_10" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_10" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_10" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_11" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_11" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_11" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_12" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_12" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_12" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_13" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_13" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_13" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_14" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_14" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_14" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_15" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_15" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_15" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_16" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_16" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_16" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_17" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_17" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_17" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_18" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_18" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_18" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_19" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_19" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_19" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_20" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_20" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_20" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_21" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_21" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_21" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_22" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_22" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_22" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_23" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_23" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_23" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_24" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_24" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_24" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_25" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_25" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_25" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_26" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_26" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_26" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_27" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_27" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_27" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_28" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_28" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_28" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_29" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_29" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_29" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_30" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_30" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_30" title="利息总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="amount_31" title="租金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="principal_31" title="本金总额(未核销)" titlestyle="header" type="content"/>
<dr:table-column cellStyle="cell2" field="interest_31" title="利息总额(未核销)" titlestyle="header" type="content"/>
</dr:columns>
</dr:dynamic-content>
</dr:sheet>
</dr:sheets>
</dr:excel-report>
</a:init-procedure>
</a:service>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zhangyu
$Date: 2016-8-2 下午14:02:36
$Revision: 1.0
$Purpose: 租赁现有资产清单
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
<a:init-procedure/>
<a:view>
<a:link id="con_contract_balance_details_link" url="${/request/@context_path}/modules/csh/CSH501/con_contract_balance_details.lview"/>
<a:link id="hls_fin_calculator_query_link_id" url="${/request/@context_path}/modules/hls/HLS500/hls_fin_calculator_readonly.lview"/>
<script type="text/javascript"><![CDATA[
function rpt5010_query(){
$('rpt5010_result_ds').query();
}
function rpt5010_reset(){
$('rpt5010_query_ds').reset();
}
function rpt5010_export(){
$('rpt5010_result_grid_id')._export();
}
function due_date_render(value,record,name){
if (name == 'contract_id') {
return '<a href="javascript:contract_cashflow_detail(' + record.get('contract_id') + ');">' + '租金支付明细' + '</a>';
}
}
function contract_calc_render(value,record,name){
if (name == 'contract_number') {
return '<a href="javascript:contract_calc_detail(' + record.id + ');">' + value + '</a>';
}
}
function contract_calc_detail(id){
var record =$('rpt5010_result_ds').findById(id);
var calc_type = 'CLASSIC_CALCULATOR';
if (record.get('calc_session_id')) {
quo_win_query = new Leaf.Window({
id: 'rpt5010_hls_fin_calc_quotation_query_link_winid',
params: {
document_id: record.get('contract_id'),
document_category: record.get('document_category'),
maintain_type: 'QUERY',
calc_session_id: record.get('calc_session_id'),
quotation_id: null,
dsId: null,
winId: 'rpt5010_hls_fin_calc_quotation_query_link_winid',
global_flag: 'Y',
id_num: 0,
calc_type: calc_type,
recreate_L_formula: 'N'
},
url: $('hls_fin_calculator_query_link_id').getUrl(),
fullScreen: true,
draggable: true
});
}
}
function contract_cashflow_detail(contract_id){
new Leaf.Window({
title: '合同余额明细信息',
id: 'con_contract_balance_details_win',
url: $('con_contract_balance_details_link').getUrl(),
params: {
'contract_id': contract_id
},
fullScreen: true
});
}
//combox二级联动查询
function comboBoxSelect() {
//从第一个comboBox的ds中获取选中的记录
var hn_industry_classification = $('rpt5010_query_ds').getCurrentRecord().get('hn_industry_classification');
//为第二个comboBox的ds设置查询条件
$('binary_classification_ds').setQueryParameter('hn_industry_classification', hn_industry_classification);
$('binary_classification_ds').query();
}
/* function sum_foot(data, name) {
if (name == 'project_name') {
return '<font color=red>' + '合计' + '</font>';
} else if (name == 'sum_due_amount') {
return colum_caculateTotal(data, name);
} else if (name == 'unreceived_principal') {
return colum_caculateTotal(data, name);
}
}
function colum_caculateTotal(data, name) {
var total = 0;
var length = data.length;
var value = 0;
for (var i = 0;i < length;i++) {
if (Ext.isEmpty(data[i].get(name))) {
value = 0;
} else {
value = data[i].get(name);
}
total = plus(total, value);
}
return '<font color=red>' + Leaf.formatMoney(total) + '</font>';
} */
]]></script>
<a:dataSets>
<a:dataSet id="business_type_ds" autoQuery="true" model="rpt.RPT5010.rpt5010_business_type"/>
<a:dataSet id="binary_classification_ds" autoQuery="true" model="rpt.RPT5010.rpt5010_binary_classification"/>
<a:dataSet id="annual_pay_times_ds" lookupCode="HLS500_ANNUAL_PAY_TIMES"/>
<a:dataSet id="hn_industry_classification_ds" lookupCode="HN_INDUSTRY_CLASSIFICATION"/>
<a:dataSet id="rpt5010_query_ds">
<a:fields>
<a:field name="project_id" defaultValue="${/parameter/@project_id}"/>
<a:field name="business_type_n" displayField="description" options="business_type_ds" returnField="business_type" valueField="business_type"/>
<a:field name="binary_classification_n" displayField="code_value_name" options="binary_classification_ds" returnField="binary_classification" valueField="code_value"/>
<a:field name="annual_pay_times_n" displayField="code_value_name" options="annual_pay_times_ds" returnField="annual_pay_times" valueField="code_value"/>
<a:field name="hn_industry_classification_n" displayField="code_value_name" options="hn_industry_classification_ds" returnField="hn_industry_classification" valueField="code_value"/>
</a:fields>
</a:dataSet>
<a:dataSet id="rpt5010_result_ds" autoPageSize="true" autoQuery="true" model="rpt.RPT5010.hn_lease_assets_list" queryDataSet="rpt5010_query_ds">
<a:fields>
<a:field name="inception_of_lease" datatype="date"/>
<a:field name="lease_end_date" datatype="date"/>
<a:field name="hn_industry_classification_n" displayField="code_value_name" options="hn_industry_classification_ds" returnField="hn_industry_classification" valueField="code_value"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton click="rpt5010_query" text="查询"/>
<a:gridButton click="rpt5010_reset" text="重置"/>
<a:gridButton click="rpt5010_export" text="导出"/>
</a:screenTopToolbar>
<a:form column="4" labelWidth="120" marginWidth="30" title="查询条件">
<a:textField name="contract_number" bindTarget="rpt5010_query_ds" prompt="业务合同号"/>
<a:textField name="bp_name" bindTarget="rpt5010_query_ds" prompt="承租人名称"/>
<a:textField name="project_name" bindTarget="rpt5010_query_ds" prompt="项目名称"/>
<a:comboBox name="business_type_n" bindTarget="rpt5010_query_ds" prompt="业务类型"/>
<!-- <a:textField name="vender_bp_name" bindTarget="rpt5010_query_ds" prompt="供应商名称"/> -->
<a:textField name="bp_name_tenant" bindTarget="rpt5010_query_ds" prompt="最终控制人名称"/>
<a:textField name="guarantor_bp_name" bindTarget="rpt5010_query_ds" prompt="担保方名称"/>
<a:comboBox name="hn_industry_classification_n" bindTarget="rpt5010_query_ds" prompt="行业分类">
<a:events>
<a:event name="select" handler="comboBoxSelect"/>
</a:events>
</a:comboBox>
<a:comboBox name="binary_classification_n" bindTarget="rpt5010_query_ds" prompt="电源类型"/>
<a:numberField name="lease_term_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="投放期限从"/>
<a:numberField name="lease_term_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="投放期限到"/>
<a:numberField name="remain_lease_term_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="剩余期限从"/>
<a:numberField name="remain_lease_term_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="剩余期限到"/>
<a:numberField name="sum_due_amount_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="租金总额(亿)从"/>
<a:numberField name="sum_due_amount_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="租金总额(亿)到"/>
<a:numberField name="unreceived_amount_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="未偿租金余额从"/>
<a:numberField name="unreceived_amount_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="未偿租金余额到"/>
<a:numberField name="lease_item_amount_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="本金总额从"/>
<a:numberField name="lease_item_amount_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="本金总额到"/>
<a:numberField name="unreceived_principal_from" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="未偿本金余额从"/>
<a:numberField name="unreceived_principal_to" allowDecimals="true" bindTarget="rpt5010_query_ds" prompt="未偿本金余额到"/>
<a:datePicker name="inception_of_lease_from" bindTarget="rpt5010_query_ds" prompt="起租日从"/>
<a:datePicker name="inception_of_lease_to" bindTarget="rpt5010_query_ds" prompt="起租日到"/>
<a:datePicker name="lease_end_date_from" bindTarget="rpt5010_query_ds" prompt="租约终止日从"/>
<a:datePicker name="lease_end_date_to" bindTarget="rpt5010_query_ds" prompt="租约终止日到"/>
<a:datePicker name="date_to" bindTarget="rpt5010_query_ds" prompt="截止日期"/>
<a:comboBox name="annual_pay_times_n" bindTarget="rpt5010_query_ds" prompt="租金支付频率"/>
</a:form>
<a:grid id="rpt5010_result_grid_id" bindTarget="rpt5010_result_ds" marginHeight="300" marginWidth="30" navBar="true" showRowNumber="true">
<a:columns>
<a:column name="contract_number" align="center" lock="true" prompt="业务合同号" renderer="contract_calc_render" width="120"/>
<a:column name="business_type_n" align="center" lock="true" prompt="业务类型" width="100"/>
<a:column name="factoring_contract_info" lock="true" prompt="是否有权属负担" width="140"/>
<a:column name="project_name" lock="true" prompt="项目名称" width="220"/>
<a:column name="bp_name" prompt="承租人" width="180"/>
<a:column name="contract_id" align="center" prompt="租金支付明细" renderer="due_date_render" width="100"/>
<a:column name="hn_industry_classification_n" align="center" prompt="行业分类" width="80"/>
<a:column name="binary_classification_n" prompt="电源类型" width="120"/>
<a:column name="vender_bp_name" prompt="供应商" width="120"/>
<a:column name="bp_name_tenant" prompt="最终控制人" width="120"/>
<a:column name="guarantor_bp_name" prompt="担保方及其评级" width="120"/>
<a:column name="mortgage_value" align="right" prompt="担保物或抵押物价值" renderer="Leaf.formatMoney" width="120"/>
<a:column name="lease_form_n" prompt="租赁方式" width="100"/>
<a:column name="lease_term_n" align="right" prompt="投放期限" width="80"/>
<a:column name="remain_lease_term_n" align="right" prompt="剩余期限" width="80"/>
<a:column name="sum_due_amount" align="right" prompt="租金总额(亿)" renderer="Leaf.formatMoney" width="100"/>
<a:column name="unreceived_amount" align="right" prompt="未偿租金余额" renderer="Leaf.formatMoney" width="120"/>
<a:column name="lease_item_amount" align="right" prompt="本金总额" renderer="Leaf.formatMoney" width="100"/>
<a:column name="unreceived_principal" align="right" prompt="未偿本金余额" renderer="Leaf.formatMoney" width="100"/>
<a:column name="sum_accounts_receivable" align="right" prompt="应收账款总额" renderer="Leaf.formatMoney" width="100"/>
<a:column name="unreceived_accounts" align="right" prompt="未偿应收账款" renderer="Leaf.formatMoney" width="100"/>
<a:column name="annual_pay_times_n" align="center" prompt="租金支付频率" width="80"/>
<a:column name="inception_of_lease" align="center" prompt="起租日" renderer="Leaf.formatDate" width="100"/>
<a:column name="lease_end_date" align="center" prompt="租约终止日" renderer="Leaf.formatDate" width="100"/>
<a:column name="lease_term_2_n" prompt="租赁期限" width="100"/>
<a:column name="remain_lease_term_2_n" prompt="剩余租赁期限" width="100"/>
</a:columns>
</a:grid>
</a:screenBody>
</a:view>
</a:screen>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: niminmin
$Date: 2018-12-20 上午9:30:25
$Revision: 1.0
$Purpose: 租金余额报表
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" trace="true">
<a:init-procedure>
<a:model-query autoCount="false" model="rpt.RPT5012.rpt5012_get_batch" rootPath="batch_id"/>
</a:init-procedure>
<a:view>
<a:link id="rpt5010_print_link_id" model="rpt.RPT5012.rpt5010_get_data" modelaction="update"/>
<script><![CDATA[
function rpt5012_reset() {
$('rpt5012_query_ds').reset();
}
function ref_n01_time(record, name, value) {
var reg = /^\d\d\d\d\d\d$/;
if (reg.test(value)) {
return true;
}
return '时间格式应为【yyyymm】,举例【201812】';
}
function rpt5012_query_ds() {
debugger;
Leaf.Masker.mask(Ext.getBody(), '${l:BEING_IMPLEMENTED}');
var record = $('rpt5012_query_ds').getAt(0);
if (!record) {
Leaf.Masker.unmask(Ext.getBody());
Leaf.showMessage('${l:PROMPT}', '年月未填写');
return;
}
var month = record.get('month');
if (!month) {
Leaf.Masker.unmask(Ext.getBody());
Leaf.showMessage('${l:PROMPT}', '年月未填写');
return;
}
Leaf.request({
url: $('rpt5012_print_link_id').getUrl(),
para: {
month: month,
batch_id:'${/model/batch_id/record/@batch_id}'
},
success: function(res) {
var days = res.result.days;
Leaf.Masker.unmask(Ext.getBody());
var url = '${/request/@context_path}/modules/rpt/rpt5012/export_excel_sheets' + days + '.lsc?month=' + month + '&file_name=' + month + '每日合同未收本金表.xls';
window.open(encodeURI(url), '_self');
},
error: function() {
Leaf.Masker.unmask(Ext.getBody());
},
failure: function() {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
}
function rpt5110_run_job() {
Leaf.showConfirm('${l:HLS.PROMPT}', '<font color="red">该任务需执行约1小时,请耐心等待!</font></br></br><font color="red">【特别注意】任务发起后1小时内请勿重复点击</font>', function() {
Leaf.Masker.mask(Ext.getBody(), '${l:BEING_IMPLEMENTED}');
Leaf.request({
url: $('rpt5012_run_job_link_id').getUrl(),
para: {},
success: function(res) {
Leaf.Masker.unmask(Ext.getBody());
Leaf.SideBar.show({
msg: '发起成功!',
duration: 2000
});
},
error: function() {
Leaf.Masker.unmask(Ext.getBody());
},
failure: function() {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
}, null, 300, 150);
}
]]></script>
<a:dataSets>
<a:dataSet id="four_month_date_ds" loadData="true" model="rpt.RPT5012.rpt5012_four_month"/>
<a:dataSet id="rpt5012_query_ds">
<a:fields>
<a:field name="month"/>
<a:field name="month_desc" displayField="value_name" options="four_month_date_ds" required="true" returnField="month" valueField="value_code"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton click="rpt5012_reset" text="HLS.RESET"/>
<a:gridButton click="rpt5012_query" text="查询"/>
</a:screenTopToolbar>
<a:form column="1" labelWidth="100" title="条件" width="300">
<a:comboBox name="month_desc" bindTarget="rpt5012_query_ds" prompt="月结年月"/>
</a:form>
</a:screenBody>
</a:view>
</a:screen>
......@@ -323,7 +323,7 @@
</a:hBox>
</div>
<div style="margin-left:10px;">
<a:treeGrid id="zjwfl5110_result_tree" bindTarget="zjwfl5110_toDoDs" expandField="expand_flag" idField="child_workflow_desc" marginHeight="550" marginWidth="80" navBar="true" parentField="workflow_desc" sequenceField="order_seq" showCheckBox="true" height="400">
<a:treeGrid id="zjwfl5110_result_tree" bindTarget="zjwfl5110_toDoDs" expandField="expand_flag" idField="child_workflow_desc" marginHeight="180" marginWidth="80" navBar="true" parentField="workflow_desc" sequenceField="order_seq" showCheckBox="true">
<a:columns>
<a:column name="child_workflow_desc" prompt="工作流"/>
<a:column name="workflow_info" prompt="工作流名称" renderer="render_zjwfl5110_toDoDs_table"/>
......
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