Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-know-partner
Project
Project
Details
Activity
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
cfld-backend
cfld-know-partner
Commits
ba60be07
Commit
ba60be07
authored
Nov 03, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合伙招商api
parent
9bd1dc48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
PartnerProjectInfoMapper.xml
src/main/resources/mapper/PartnerProjectInfoMapper.xml
+4
-2
No files found.
src/main/resources/mapper/PartnerProjectInfoMapper.xml
View file @
ba60be07
...
@@ -53,8 +53,10 @@
...
@@ -53,8 +53,10 @@
select count(1) project_all_count,0 project_investment_regular, 0 project_examine_count,0 project_push_count from partner_project_info
select count(1) project_all_count,0 project_investment_regular, 0 project_examine_count,0 project_push_count from partner_project_info
where partner_id = #{userId} and status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
where partner_id = #{userId} and status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
union all
union all
select 0 project_all_count,sum(project_investment_regular) project_investment_regular, 0 project_examine_count,0 project_push_count from partner_project_info
select 0 project_all_count,sum(pi.fix_asset_invest_amount) project_investment_regular, 0 project_examine_count,0 project_push_count
where partner_id = #{userId} and status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
from partner_project_info ppi
LEFT JOIN project_info pi ON ppi.project_id = pi.id
where ppi.partner_id = #{userId} and ppi.status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
union all
union all
select 0 project_all_count,0 project_investment_regular, count(1) project_examine_count,0 project_push_count from partner_project_info
select 0 project_all_count,0 project_investment_regular, count(1) project_examine_count,0 project_push_count from partner_project_info
where status in (1,2,4,5,6,7,8) and partner_id = #{userId}
where status in (1,2,4,5,6,7,8) and partner_id = #{userId}
...
...
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