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
6a104035
Commit
6a104035
authored
Dec 30, 2022
by
TIANZHI.HU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对账单打印bug修复 add by 39135 HuTianzhi
parent
5197afb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
ConExportMapper.xml
...sources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
+20
-5
No files found.
src/main/resources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
View file @
6a104035
...
...
@@ -57,7 +57,7 @@
end), 'fm999,999,999,990.00') As received_amount_9,
to_char(unreceived_amount_9, 'fm999,999,999,990.00') unreceived_amount_9
From (Select *
From (Select
From (
select a.* from (
Select
t2.write_off_id write_off_id_9,
t1.contract_id,
t1.cashflow_id,
...
...
@@ -205,9 +205,16 @@
cwo.write_off_id) t2
Where t1.transaction_date = t2.transaction_date (+)
And t1.times = t2.times (+)
And t1.cf_item = t2.cf_item (+)
And t1.cf_item = t2.cf_item (+)) a
where hlcm_query_entrance_pkg.get_due_amout(p_transaction_date => a.transaction_date,
p_times => a.times,
p_contract_id => a.contract_id,
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
Union
Select
select a.* from(
Select
t2.write_off_id write_off_id_9,
nvl(t1.contract_id, t2.contract_id) contract_id,
nvl(t1.cashflow_id, t2.cashflow_id) cashflow_id,
...
...
@@ -454,7 +461,14 @@
cwo.write_off_id) t2
Where t1.transaction_date (+) = t2.transaction_date
And t1.times (+) = t2.times
And t1.cf_item (+) = t2.cf_item
And t1.cf_item (+) = t2.cf_item) a where
hlcm_query_entrance_pkg.get_due_amout(p_transaction_date => a.transaction_date,
p_times => a.times,
p_contract_id => a.contract_id,
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
Union
Select
null write_off_id_9,
...
...
@@ -1091,7 +1105,8 @@
--cf_item,
--due_amount Desc,
transaction_date,
write_off_date)
write_off_date,
write_off_id)
</select>
...
...
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