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
7916e879
Commit
7916e879
authored
Jan 06, 2023
by
TIANZHI.HU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对账单打印报表逻辑问题的bug修复 add by 39135
parent
c3f8c8f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
ConExportMapper.xml
...sources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
+18
-4
No files found.
src/main/resources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
View file @
7916e879
...
...
@@ -309,8 +309,8 @@
cc2.cf_status = 'BLOCK' And
nvl(cc2.write_off_flag, 'NOT') != 'NOT'))
And rownum = 1) -
nvl((Select nvl(Sum(cc2.received
_amount), 0)
From con_contract_cashflow cc2
nvl((Select nvl(Sum(tn.write_off_due
_amount), 0)
From con_contract_cashflow cc2
,csh_write_off tn,csh_transaction ct
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
...
...
@@ -321,7 +321,14 @@
cc2.cf_direction = 'NONCASH' And
cc2.cf_status = 'BLOCK' And
nvl(cc2.write_off_flag, 'NOT') !=
'NOT'))),
'NOT'))
and tn.cashflow_id = cc2.cashflow_id
and tn.csh_transaction_id=ct.transaction_id
and (ct.transaction_date
<
to_date( t2.transaction_date,'yyyy-mm-dd') or
(ct.transaction_date =to_date( t2.transaction_date,'yyyy-mm-dd') and
tn.write_off_date
<
to_date( t2.write_off_date ,'yyyy-mm-dd')
))
),
0)) As unreceived_amount,
t2.times As times_9,
nvl(t2.due_amount, 0) As due_amount_9,
...
...
@@ -468,7 +475,14 @@
p_received_amount_9 => a.received_amount_9,
p_due_amount => a.received_amount,
p_write_off_id => a.write_off_id,
p_field => 'received_amount')>0
p_field => 'received_amount')>0 or
hlcm_query_entrance_pkg.get_due_amout_new(p_transaction_date => a.transaction_date,
p_times => a.times,
p_contract_id => a.contract_id,
p_due_amount => a.received_amount_9,
p_write_off_id => a.write_off_id,
p_field => 'received_amount_9',
p_write_off_id_9 => a.write_off_id_9)>0
Union
Select
null write_off_id_9,
...
...
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