Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
aa9dbcc2
Commit
aa9dbcc2
authored
Nov 28, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/feature/acr_create' into develop
parents
7788cc59
8dfd59c2
Pipeline
#3945
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
53 deletions
+58
-53
csh_payment_req_excel_bank_info.lwm
...NF/classes/csh/CSH501/csh_payment_req_excel_bank_info.lwm
+46
-45
csh_payment_req_ln_query_after_save.lwm
...lasses/csh/CSH501/csh_payment_req_ln_query_after_save.lwm
+12
-8
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_excel_bank_info.lwm
View file @
aa9dbcc2
...
...
@@ -9,17 +9,16 @@
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT
--应付我司开户名
select tt.* from (
SELECT
--应付我司开户名
(SELECT hbbc.bank_full_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=V.bp_bank_account_id
) agent_bank_name,
WHERE hbbc.bank_account_id = V.bp_bank_account_id) agent_bank_name,
--代理商名称
(SELECT bp_name
FROM hls_bp_master hbm,hls_bp_master_bank_account hbbc
WHERE hbm.bp_id = hbbc.bp_id
AND hbbc.bank_account_id=v.bp_bank_account_id
) agent_name,
(select bp.BP_NAME
from HLS_BP_MASTER bp
WHERE bp.BP_ID = t.bp_id_agent_level1
and bp.bp_category = 'AGENT'
) agent_name,
--应付我司开户行
(SELECT HBBc.bank_account_name
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
...
...
@@ -31,25 +30,27 @@
--厂商开户名
(SELECT hbbc.bank_account_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=v.vender_bank_account_id
) vender_account_name,
WHERE hbbc.bank_account_id = v.vender_bank_account_id) vender_account_name,
--厂商开户行
(SELECT hbbc.bank_full_name
FROM hls_bp_master_bank_account hbbc
WHERE hbbc.bank_account_id=v.vender_bank_account_id
) vender_bank_name,
WHERE hbbc.bank_account_id = v.vender_bank_account_id) vender_bank_name,
--厂商名称
(SELECT bp_name
FROM hls_bp_master hbm,hls_bp_master_bank_account hbbc
WHERE hbm.bp_id=hbbc.bp_id
AND hbbc.bank_account_id=V.vender_bank_account_id
) vender_name,
(select bp.BP_NAME
from HLS_BP_MASTER bp
WHERE bp.BP_ID = t.bp_id_tenant
AND bp.bp_category = 'TENANT'
) vender_name,
--应付我司开户账号
(SELECT HBBC.BANK_ACCOUNT_NUM
FROM HLS_BP_MASTER_BANK_ACCOUNT HBBC
WHERE HBBC.BANK_ACCOUNT_ID = V.VENDER_BANK_ACCOUNT_ID) VENDER_BANK_NUM,
( to_char(SYSDATE,'yyyy')||'年'||to_char(SYSDATE,'mm')||'月'||to_char(SYSDATE,'dd')||'日') current_date
(to_char(SYSDATE, 'yyyy') || '年' || to_char(SYSDATE, 'mm') || '月' ||
to_char(SYSDATE, 'dd') || '日') current_date,
v.payment_req_id,
v.ref_doc_id
FROM CSH_PAYMENT_REQ_LN V
FROM CSH_PAYMENT_REQ_LN V, con_contract t
where t.contract_id = V.ref_doc_id) tt
#WHERE_CLAUSE#
-- WHERE V.PAYMENT_REQ_ID = 2512561 AND ROWNUM <= 1
...
...
@@ -60,7 +61,7 @@
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"
v
.payment_req_id =${@payment_req_id}"
/>
<bm:data-filter
enforceOperations=
"query"
expression=
"
tt
.payment_req_id =${@payment_req_id}"
/>
</bm:data-filters>
<!-- <bm:query-fields>
<bm:query-field name="payment_req_id" queryOperator="="/>
...
...
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_ln_query_after_save.lwm
View file @
aa9dbcc2
...
...
@@ -72,8 +72,11 @@
where hbm.bank_account_id = cpr.bp_bank_account_id) BP_BANK_ACCOUNT_NAME,
--应付我司金额
cpr.amount_agent,
cpr.amount_vender,
to_char(cpr.amount_agent,'FM999,999,999,990.00') amount_agent,
to_char(cpr.amount_vender,'FM999,999,999,990.00') amount_vender,
--未付金额
(cpr.amount_agent - nvl(cpr.amount_agent_paid, 0)) residual_agent_amount,
(cpr.amount_vender - nvl(cpr.amount_vender_paid, 0)) residual_vender_amount,
...
...
@@ -91,9 +94,10 @@
from hls_bp_master_bank_account hbm
where hbm.bank_account_id = cpr.vender_bank_account_id) vender_bank_account_name,
cpr.amount,
c.lease_item_amount,
to_char(c.lease_item_amount,'FM999,999,999,990.00') lease_item_amount,
--首付款抵充金额
(select
nvl(hd.other_payment2, 0
)
(select
to_char( nvl(hd.other_payment2, 0),'FM999,999,999,990.00'
)
from hls_fin_calculator_hd hd
where hd.calc_session_id =
(select PQ.CALC_SESSION_ID
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment