Commit 2197573e authored by liyuan.chen's avatar liyuan.chen

[FIX]测试内容修改

parent fddf5665
Pipeline #6493 canceled with stages
...@@ -100,7 +100,7 @@ public class MailSend { ...@@ -100,7 +100,7 @@ public class MailSend {
messageBodyPart.setText(body); messageBodyPart.setText(body);
multipart.addBodyPart(messageBodyPart); multipart.addBodyPart(messageBodyPart);
if(ATTACHMENT_FLAG){ if(isNotEmpty(attchFlag)&&YES.equals(attchFlag)){
String fileName=jsonObject.optString("attch_file_name"); String fileName=jsonObject.optString("attch_file_name");
String filePath=jsonObject.optString("attch_file_path"); String filePath=jsonObject.optString("attch_file_path");
// 附件部分 // 附件部分
......
...@@ -328,10 +328,11 @@ SELECT h.extra_nam, ...@@ -328,10 +328,11 @@ SELECT h.extra_nam,
WHERE t.data_class = 'NORMAL' WHERE t.data_class = 'NORMAL'
AND t.bp_id_agent_level1 = h.bp_id AND t.bp_id_agent_level1 = h.bp_id
AND (t.contract_status IN ('INCEPT', AND (t.contract_status IN ('INCEPT',
'PENDING',
'TERMINATING', 'TERMINATING',
'ETING', 'ETING',
'REPURING')or (to_char(t.et_date,'yyyy-mm')>=${@period_name} and t.contract_status='TERMINATE' )) 'REPURING',
'ET')or (to_char(t.et_date,'yyyy-mm')>=${@period_name} and t.contract_status='TERMINATE' ))
and trunc(t.lease_start_date) <= trunc(last_day(to_date(${@start_calc_date},'yyyy-mm-dd'))) and trunc(t.lease_start_date) <= trunc(last_day(to_date(${@start_calc_date},'yyyy-mm-dd')))
......
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
<bm:query-field name="currency_code_to" queryExpression="t1.currency_code &lt;= ${@currency_code_to}"/> <bm:query-field name="currency_code_to" queryExpression="t1.currency_code &lt;= ${@currency_code_to}"/>
<bm:query-field name="bank_account_code_from" queryExpression="(select a.bank_account_code from csh_bank_account a where a.bank_account_id=t1.bank_account_id) &gt;= ${@bank_account_code_from}"/> <bm:query-field name="bank_account_code_from" queryExpression="(select a.bank_account_code from csh_bank_account a where a.bank_account_id=t1.bank_account_id) &gt;= ${@bank_account_code_from}"/>
<bm:query-field name="bank_account_code_to" queryExpression="(select a.bank_account_code from csh_bank_account a where a.bank_account_id=t1.bank_account_id) &lt;= ${@bank_account_code_to}"/> <bm:query-field name="bank_account_code_to" queryExpression="(select a.bank_account_code from csh_bank_account a where a.bank_account_id=t1.bank_account_id) &lt;= ${@bank_account_code_to}"/>
<bm:query-field name="transaction_date_from" queryExpression="transaction_date &gt;= to_date(${@transaction_date_from},&apos;yyyy-mm-dd&apos;)"/> <bm:query-field name="transaction_date_from" queryExpression="trunc(transaction_date, &apos;fmdd&apos;) &gt;= to_date(${@transaction_date_from},&apos;yyyy-mm-dd&apos;)"/>
<bm:query-field name="transaction_date_to" queryExpression="transaction_date &lt;= to_date(${@transaction_date_to},&apos;yyyy-mm-dd&apos;)"/> <bm:query-field name="transaction_date_to" queryExpression="trunc(transaction_date, &apos;fmdd&apos;) &lt;= to_date(${@transaction_date_to},&apos;yyyy-mm-dd&apos;)"/>
<bm:query-field name="user_id" queryExpression="t1.created_by=${@user_id}"/> <bm:query-field name="user_id" queryExpression="t1.created_by=${@user_id}"/>
<bm:query-field name="receipt" queryExpression="(t1.transaction_type=${@receipt} or t1.transaction_type=${@advance_receipt} or t1.transaction_type=${@deposit} or t1.transaction_type=${@risk})"/> <bm:query-field name="receipt" queryExpression="(t1.transaction_type=${@receipt} or t1.transaction_type=${@advance_receipt} or t1.transaction_type=${@deposit} or t1.transaction_type=${@risk})"/>
<!--<bm:query-field name="full_write_off_flag" queryExpression="t1.write_off_flag!=${@full_write_off_flag}"/>--> <!--<bm:query-field name="full_write_off_flag" queryExpression="t1.write_off_flag!=${@full_write_off_flag}"/>-->
......
...@@ -34,8 +34,10 @@ ...@@ -34,8 +34,10 @@
From csh_transaction t From csh_transaction t
Where t.confirmed_flag in ('ACCAUDITED','APPROVED', 'WF_REJECTED', 'WF_APPROVING') Where t.confirmed_flag in ('ACCAUDITED','APPROVED', 'WF_REJECTED', 'WF_APPROVING')
And t.transaction_type not in ('DEPOSIT', 'PAYMENT') And t.transaction_type not in ('DEPOSIT', 'PAYMENT')
And t.returned_flag <> 'RETURN') t1 And t.returned_flag not in ('RETURN', 'FULL')
Where to_char(t1.transaction_date, 'yyyymm') < to_char(sysdate, 'yyyymm') And nvl(t.reversed_flag, 'N') = 'N') t1
Where to_char(t1.transaction_date, 'yyyymm') <= to_char(sysdate, 'yyyymm')
And to_char(t1.transaction_date, 'yyyymm') > '201906'
Group By to_char(t1.transaction_date, 'yyyy-mm'), t1.ref_v04 Group By to_char(t1.transaction_date, 'yyyy-mm'), t1.ref_v04
Order By to_char(t1.transaction_date, 'yyyy-mm') desc Order By to_char(t1.transaction_date, 'yyyy-mm') desc
]]></bm:query-sql> ]]></bm:query-sql>
......
...@@ -13,22 +13,22 @@ ...@@ -13,22 +13,22 @@
<bm:operations> <bm:operations>
<bm:operation name="query"> <bm:operation name="query">
<bm:query-sql><![CDATA[ <bm:query-sql><![CDATA[
Select nvl((Select decode(t.role_code, Select nvl(decode(${/session/@user_id},
'0006', 10413,
'NO', 'NO',
'0014', (Select decode(t.role_code,
'YES', '0014',
'0013', 'YES',
'YES', '0013',
'0017', 'YES',
'YES', '0017',
'HAND', 'YES',
'YES', 'HAND',
'N') 'YES',
From sys_role t 'N')
Where t.role_id = ${/session/@role_id}), From sys_role t
'N') As role_code Where t.role_id = ${/session/@role_id})), 'N') as role_code
From dual From dual
]]></bm:query-sql> ]]></bm:query-sql>
</bm:operation> </bm:operation>
</bm:operations> </bm:operations>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
(CASE (CASE
WHEN to_char(SYSDATE, 'dd') <= 20 AND WHEN to_char(SYSDATE, 'dd') <= 20 AND
to_char(t.calendar_date, 'yyyymmdd') = to_char(t.calendar_date, 'yyyymmdd') =
to_char(SYSDATE, 'yyyymm') || 20 THEN to_char(SYSDATE, 'yyyymm') || decode(to_char(t.calendar_date, 'd'), 1, 18, 7, 19, 20) THEN
--当月的二十号统计数据 --当月的二十号统计数据
NVL((SELECT SUM(nvl(c.lease_item_amount, 0)) NVL((SELECT SUM(nvl(c.lease_item_amount, 0))
FROM con_contract c FROM con_contract c
...@@ -80,8 +80,19 @@ ...@@ -80,8 +80,19 @@
AND nvl(c.payment_deduction, 'NO_DEDUCTION') <> AND nvl(c.payment_deduction, 'NO_DEDUCTION') <>
'NO_DEDUCTION'),0) 'NO_DEDUCTION'),0)
WHEN to_char(SYSDATE, 'dd') > 20 AND WHEN to_char(SYSDATE, 'dd') > 20 AND
to_char(add_months(t.calendar_date, -1), 'yyyymmdd') = -- to_char(add_months(t.calendar_date, -1), 'yyyymmdd') =
to_char(SYSDATE, 'yyyymm') || 20 THEN -- to_char(SYSDATE, 'yyyymm') || 20
to_char(t.calendar_date, 'yyyymmdd') =
decode(to_char(to_date((to_char(add_months(Sysdate, 1),
'yyyymm') || 20),
'yyyymmdd'),
'd'),
1,
to_char(add_months(Sysdate, 1), 'yyyymm') || 18,
7,
to_char(add_months(Sysdate, 1), 'yyyymm') || 19,
to_char(add_months(Sysdate, 1), 'yyyymm') || 20)
THEN
NVL((SELECT SUM(nvl(c.lease_item_amount, 0)) NVL((SELECT SUM(nvl(c.lease_item_amount, 0))
FROM con_contract c FROM con_contract c
WHERE c.contract_status <> 'CANCEL' WHERE c.contract_status <> 'CANCEL'
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<a:link id="period_month_close_link" model="hls.HLS801.period_month_close" modelaction="execute"/> <a:link id="period_month_close_link" model="hls.HLS801.period_month_close" modelaction="execute"/>
<a:link id="tre_interest_confirm_link" model="hls.HLS801.tre_interest_confirm" modelaction="execute"/> <a:link id="tre_interest_confirm_link" model="hls.HLS801.tre_interest_confirm" modelaction="execute"/>
<a:link id="main_link" url="${/request/@context_path}/welcome.lview"/> <a:link id="main_link" url="${/request/@context_path}/welcome.lview"/>
<a:link id="user_main_link" url="${/request/@context_path}/user_role_home_page.lview"/>
<a:link id="csh_current_period_link" model="hls.HLS801.csh_current_period_query" modelaction="update"/> <a:link id="csh_current_period_link" model="hls.HLS801.csh_current_period_query" modelaction="update"/>
<script><![CDATA[ <script><![CDATA[
//HLS801.NEXT_STEP //HLS801.NEXT_STEP
...@@ -41,6 +42,14 @@ ...@@ -41,6 +42,14 @@
var g_company_id_2; var g_company_id_2;
//alert('${/model/sys_role_path/record/@role_code}'); //alert('${/model/sys_role_path/record/@role_code}');
$L.onReady(function () {
if('${/model/sys_role_path/record/@role_code}' == 'N'){
var win = $L.showInfoMessage('${l:PROMPT}', '您暂无权限查看!');
win.on('close', function() {
history.back();
});
}
});
function nextStep() { function nextStep() {
var stepTabPanel = $('step'); var stepTabPanel = $('step');
step = step + 1; step = step + 1;
...@@ -327,7 +336,7 @@ ...@@ -327,7 +336,7 @@
para: { para: {
internal_period_num: record.get('internal_period_num') internal_period_num: record.get('internal_period_num')
}, },
success: function (args) { //debugger; success: function (args) {
var result = args.result; var result = args.result;
if (!result) { if (!result) {
Leaf.showWarningMessage('', '${l:PRJ509.DATA_NOT_BACK}', null, 200, 100); Leaf.showWarningMessage('', '${l:PRJ509.DATA_NOT_BACK}', null, 200, 100);
...@@ -497,7 +506,7 @@ ...@@ -497,7 +506,7 @@
internal_period_num: record.get('internal_period_num'), internal_period_num: record.get('internal_period_num'),
calc_end_date: record.get('calc_end_date') calc_end_date: record.get('calc_end_date')
}, },
success: function (args) { //debugger; success: function (args) {
var result = args.result; var result = args.result;
if (!result) { if (!result) {
Leaf.showWarningMessage('', '${l:PRJ509.DATA_NOT_BACK}', null, 200, 100); Leaf.showWarningMessage('', '${l:PRJ509.DATA_NOT_BACK}', null, 200, 100);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment