Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
二
二医大银行收款回单
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JAVA
二医大银行收款回单
Merge requests
!605
3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
3
jiangxiaoming
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
jiangxiaoming
requested to merge
jiangxiaoming
into
dev
3 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
f36d4415
1 commit,
3 months ago
1 file
+
6
−
6
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ServiceSite/src/main/java/com/seasky/ledgerincome/infrastructure/mapper/xml/EntryBillMapper.xml
+
6
−
6
Options
@@ -33,15 +33,15 @@
left join t_invoice d on d.id=c.invoice_id and d.invoice_state='已开'
left join t_project_type h on h.id=a.project_type_id
left join (select a.* from (select distinct a.income_id,b.entry_type,a.id entry_bill_id, b.id entry_bill_flow_id
,b.voucher_id,
''
voucher_state
,b.voucher_id,
c.
voucher_state
from t_entry_bill a left join
t_entry_bill_flow b on a.id=b.entry_id and a.available='Yes' and b.available='Yes'
t_entry_bill_flow b on a.id=b.entry_id
--
and a.available='Yes' and b.available='Yes'
left join t_voucher c on c.id=b.voucher_id -- and c.voucher_state!='驳回'
where b.entry_type in('到款转暂存') )a
left join
(select distinct a.income_id,b.entry_type,a.id entry_bill_id, b.id entry_bill_flow_id
,b.voucher_id,c.voucher_state from t_entry_bill a left join
t_entry_bill_flow b on a.id=b.entry_id and a.available='Yes' and b.available='Yes'
t_entry_bill_flow b on a.id=b.entry_id
--
and a.available='Yes' and b.available='Yes'
left join t_voucher c on c.id=b.voucher_id -- and c.voucher_state!='驳回'
where b.entry_type in('暂存转收入') ) b
on a.income_id=b.income_id where b.income_id is null
@@ -49,13 +49,13 @@
(select b.* from (select distinct a.income_id,b.entry_type,a.id entry_bill_id, b.id entry_bill_flow_id
,b.voucher_id,c.voucher_state from t_entry_bill a left join
t_entry_bill_flow b on a.id=b.entry_id and a.available='Yes' and b.available='Yes'
t_entry_bill_flow b on a.id=b.entry_id
--
and a.available='Yes' and b.available='Yes'
left join t_voucher c on c.id=b.voucher_id -- and c.voucher_state!='驳回'
where b.entry_type in('到款转暂存') )a
left join
(select distinct a.income_id,b.entry_type,a.id entry_bill_id, b.id entry_bill_flow_id
,b.voucher_id,c.voucher_state from t_entry_bill a left join
t_entry_bill_flow b on a.id=b.entry_id and
a.available='Yes' and b.available='Yes'
t_entry_bill_flow b on a.id=b.entry_id
--
and a.available='Yes' and b.available='Yes'
left join t_voucher c on c.id=b.voucher_id -- and c.voucher_state!='驳回'
where b.entry_type in('暂存转收入') ) b
on a.income_id=b.income_id where b.income_id is not null )
@@ -63,7 +63,7 @@
(
select distinct a.income_id,b.entry_type,a.id entry_bill_id, b.id entry_bill_flow_id
,b.voucher_id,c.voucher_state from t_entry_bill a left join
t_entry_bill_flow b on a.id=b.entry_id and a.available='Yes' and b.available='Yes'
t_entry_bill_flow b on a.id=b.entry_id
--
and a.available='Yes' and b.available='Yes'
left join t_voucher c on c.id=b.voucher_id -- and c.voucher_state!='驳回'
where b.entry_type in('到款转收入')
)