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
e6bad3e6
Commit
e6bad3e6
authored
Mar 13, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资管费二阶段对账单改造
parent
f5bc53db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
ConExportMapper.xml
...sources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
+24
-24
No files found.
src/main/resources/com/hand/hls/hlcm/cont/mapper/ConExportMapper.xml
View file @
e6bad3e6
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
ccc.cf_direction = 'NONCASH' And
ccc.cf_direction = 'NONCASH' And
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
And ccc.cf_item Not In (0,
9
)
And ccc.cf_item Not In (0,
9,40
)
And c.contract_id = #{contractId}
And c.contract_id = #{contractId}
Order By ccc.times,
Order By ccc.times,
ccc.cf_item,
ccc.cf_item,
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
hls_cashflow_item h
hls_cashflow_item h
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
From con_contract_cashflow cc2,csh_write_off tn,csh_transaction ct
From con_contract_cashflow cc2,csh_write_off tn,csh_transaction ct
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -371,7 +371,7 @@
...
@@ -371,7 +371,7 @@
ccc.cf_direction = 'NONCASH' And
ccc.cf_direction = 'NONCASH' And
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
And ccc.cf_item Not In (0, 9)
And ccc.cf_item Not In (0, 9
,40
)
And c.contract_id = #{contractId}
And c.contract_id = #{contractId}
Order By ccc.times,
Order By ccc.times,
ccc.cf_item,
ccc.cf_item,
...
@@ -538,7 +538,7 @@
...
@@ -538,7 +538,7 @@
ccc.cf_direction = 'NONCASH' And
ccc.cf_direction = 'NONCASH' And
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
And ccc.cf_item Not In (0, 9)
And ccc.cf_item Not In (0, 9
,40
)
And ccc.times >
And ccc.times >
nvl((Select Max(cc2.times)
nvl((Select Max(cc2.times)
From con_contract_cashflow cc2
From con_contract_cashflow cc2
...
@@ -665,7 +665,7 @@
...
@@ -665,7 +665,7 @@
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') !=
nvl(ccc.write_off_flag, 'NOT') !=
'NOT'))
'NOT'))
And ccc.cf_item Not In (0, 9)
And ccc.cf_item Not In (0, 9
,40
)
And c.contract_id = #{contractId}
And c.contract_id = #{contractId}
Order By ccc.times,
Order By ccc.times,
ccc.cf_item,
ccc.cf_item,
...
@@ -762,7 +762,7 @@
...
@@ -762,7 +762,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -778,7 +778,7 @@
...
@@ -778,7 +778,7 @@
hls_cashflow_item h
hls_cashflow_item h
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -795,7 +795,7 @@
...
@@ -795,7 +795,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -810,7 +810,7 @@
...
@@ -810,7 +810,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -827,7 +827,7 @@
...
@@ -827,7 +827,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -841,7 +841,7 @@
...
@@ -841,7 +841,7 @@
From con_contract_cashflow cc2
From con_contract_cashflow cc2
Where cc2.contract_id = t2.contract_id
Where cc2.contract_id = t2.contract_id
And cc2.times = t2.times
And cc2.times = t2.times
And cc2.cf_item Not In (0, 9)
And cc2.cf_item Not In (0, 9
,40
)
And ((cc2.cf_direction = 'INFLOW' And
And ((cc2.cf_direction = 'INFLOW' And
cc2.cf_status = 'RELEASE') Or
cc2.cf_status = 'RELEASE') Or
(t2.contract_status In
(t2.contract_status In
...
@@ -911,7 +911,7 @@
...
@@ -911,7 +911,7 @@
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') !=
nvl(ccc.write_off_flag, 'NOT') !=
'NOT'))
'NOT'))
And ccc.cf_item Not In (0, 9)
And ccc.cf_item Not In (0, 9
,40
)
And c.contract_id = #{contractId}
And c.contract_id = #{contractId}
Order By ccc.times,
Order By ccc.times,
ccc.cf_item,
ccc.cf_item,
...
@@ -1077,7 +1077,7 @@
...
@@ -1077,7 +1077,7 @@
ccc.cf_direction = 'NONCASH' And
ccc.cf_direction = 'NONCASH' And
ccc.cf_status = 'BLOCK' And
ccc.cf_status = 'BLOCK' And
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
nvl(ccc.write_off_flag, 'NOT') != 'NOT'))
And ccc.cf_item Not In (0, 9)
And ccc.cf_item Not In (0, 9
,40
)
And ccc.times >
And ccc.times >
nvl((Select Max(cc2.times)
nvl((Select Max(cc2.times)
From con_contract_cashflow cc2
From con_contract_cashflow cc2
...
@@ -1100,9 +1100,9 @@
...
@@ -1100,9 +1100,9 @@
Select
Select
hb.bp_name,
hb.bp_name,
c.contract_number,
c.contract_number,
(Select cl.machine_number
nvl(
(Select cl.machine_number
From con_contract_lease_item cl
From con_contract_lease_item cl
Where cl.contract_id = c.contract_id)
As machine_number,
Where cl.contract_id = c.contract_id),'/')
As machine_number,
to_char(Sysdate, 'yyyy"年"mm"月"dd"日"') As today
to_char(Sysdate, 'yyyy"年"mm"月"dd"日"') As today
From con_contract c, hls_bp_master hb
From con_contract c, hls_bp_master hb
Where c.bp_id_tenant = hb.bp_id
Where c.bp_id_tenant = hb.bp_id
...
@@ -1111,9 +1111,9 @@
...
@@ -1111,9 +1111,9 @@
union all
union all
Select hb.bp_name,
Select hb.bp_name,
c.contract_number,
c.contract_number,
(Select cl.machine_number_70
nvl(
(Select cl.machine_number_70
From con_contract_lease_item cl
From con_contract_lease_item cl
Where cl.contract_id = c.contract_id
) As machine_number,
Where cl.contract_id = c.contract_id),'/'
) As machine_number,
to_char(Sysdate, 'yyyy"年"mm"月"dd"日"') As today
to_char(Sysdate, 'yyyy"年"mm"月"dd"日"') As today
From con_contract c, hls_bp_master hb
From con_contract c, hls_bp_master hb
Where c.bp_id_tenant = hb.bp_id
Where c.bp_id_tenant = hb.bp_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