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
c5a7c92d
Commit
c5a7c92d
authored
Mar 24, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
50d02daf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ComExpertSpecServiceImpl.java
...iboshi/science/service/impl/ComExpertSpecServiceImpl.java
+1
-1
ComExpertSpecDAO.xml
science-admin/src/main/resources/mapper/ComExpertSpecDAO.xml
+1
-1
ComProjectGroupDAO.xml
...ce-admin/src/main/resources/mapper/ComProjectGroupDAO.xml
+1
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComExpertSpecServiceImpl.java
View file @
c5a7c92d
...
...
@@ -145,7 +145,7 @@ public class ComExpertSpecServiceImpl extends BaseServiceImpl<ComExpertSpecDAO,
List
<
ComProjectGroupDetailDTO
>
finalMembers1
=
members
;
list
.
forEach
((
e
)
->
{
boolean
isDisabled
=
false
;
String
description
=
e
.
get
TreeCode
()
+
"/"
+
e
.
get
Sex
()
+
"/"
+
AgeUtil
.
getResidentAge
(
e
.
getBirthday
())
+
"岁/"
+
e
.
getWorkUnit
();
String
description
=
e
.
getSex
()
+
"/"
+
AgeUtil
.
getResidentAge
(
e
.
getBirthday
())
+
"岁/"
+
e
.
getWorkUnit
();
isDisabled
=
units
.
contains
(
e
.
getUnitId
());
// 检查专家的证件号是否在 members 列表中
if
(!
isDisabled
)
...
...
science-admin/src/main/resources/mapper/ComExpertSpecDAO.xml
View file @
c5a7c92d
...
...
@@ -51,7 +51,7 @@
<select
id=
"getExpertListByExpertSpecIds"
resultType=
"com.yiboshi.science.param.dto.ComExpertDTO"
>
select distinct a.expert_id id,c.person_name,c.cert_id,c.sex,c.birthday,e.id unit_id,
(case when e.unit_name is null then c.work_unit else e.unit_name end) as work_unit
,d.tree_code
(case when e.unit_name is null then c.work_unit else e.unit_name end) as work_unit
from com_expert_spec a
left join com_expert b on a.expert_id=b.id
left join com_person c on b.person_id=c.id
...
...
science-admin/src/main/resources/mapper/ComProjectGroupDAO.xml
View file @
c5a7c92d
...
...
@@ -27,6 +27,7 @@
left join com_person c on b.person_id = c.id
where a.proj_id = #{projectId}
</select>
<select
id=
"getProjectAssignByGroupIdExpertId"
resultType=
"com.yiboshi.science.param.dto.ComProjectAssignDTO"
>
select a.id as group_id, d.*, e.proj_no, e.app_no, e.proj_class, e.proj_name from com_project_group a
left join com_project_group_detail b on a.id = b.group_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