Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
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
徐俊
yn-health-science
Commits
a7970987
Commit
a7970987
authored
Nov 30, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
ebe704ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ComProjectMembersDAO.xml
...-admin/src/main/resources/mapper/ComProjectMembersDAO.xml
+5
-4
No files found.
science-admin/src/main/resources/mapper/ComProjectMembersDAO.xml
View file @
a7970987
...
@@ -23,15 +23,16 @@
...
@@ -23,15 +23,16 @@
</select>
</select>
<select
id=
"getMemCountById"
parameterType=
"java.lang.String"
resultType=
"com.yiboshi.science.param.dto.ComProjectMembersDTO"
>
<select
id=
"getMemCountById"
parameterType=
"java.lang.String"
resultType=
"com.yiboshi.science.param.dto.ComProjectMembersDTO"
>
select IFNULL(count(*),0)mem_count,
select IFNULL(count(*),0)mem_count,
-- IFNULL(sum(case when b.gb_Code='duty_h
' then 1 else 0 end),0)mem_high_count,
IFNULL(sum(case when d.gb_Code='1
' then 1 else 0 end),0)mem_high_count,
-- IFNULL(sum(case when b.gb_Code='duty_m
' then 1 else 0 end),0)mem_middle_count,
IFNULL(sum(case when d.gb_Code='2
' then 1 else 0 end),0)mem_middle_count,
-- IFNULL(sum(case when b.gb_Code='duty_l
' then 1 else 0 end),0)mem_low_count,
IFNULL(sum(case when d.gb_Code='3
' then 1 else 0 end),0)mem_low_count,
IFNULL(sum(case when c.gb_Code='1' then 1 else 0 end),0)mem_bsh_count,
IFNULL(sum(case when c.gb_Code='1' then 1 else 0 end),0)mem_bsh_count,
IFNULL(sum(case when c.gb_Code='2' then 1 else 0 end),0)mem_bs_count,
IFNULL(sum(case when c.gb_Code='2' then 1 else 0 end),0)mem_bs_count,
IFNULL(sum(case when c.gb_Code='3' then 1 else 0 end),0)mem_ss_count,
IFNULL(sum(case when c.gb_Code='3' then 1 else 0 end),0)mem_ss_count,
IFNULL(sum(case when c.gb_Code='4' then 1 else 0 end),0)mem_xs_count
IFNULL(sum(case when c.gb_Code='4' then 1 else 0 end),0)mem_xs_count
from com_project_members a
from com_project_members a
-- left join system_parameter b on a.duty=b.id and b.type_id=55
left join system_parameter b on a.title=b.id and and b.type_id=7
left join system_parameter d on b.parent_id=d.id and and d.type_id=6
left join system_parameter c on a.degree=c.id and c.type_id=9
left join system_parameter c on a.degree=c.id and c.type_id=9
where object_id=#{objectId}
where object_id=#{objectId}
</select>
</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