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
9298b6e7
Commit
9298b6e7
authored
Dec 16, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
77
parent
ca2a0a19
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
ComExpertServiceImpl.java
...om/yiboshi/science/service/impl/ComExpertServiceImpl.java
+1
-1
ComExpertSpecDAO.xml
science-admin/src/main/resources/mapper/ComExpertSpecDAO.xml
+1
-1
ComPersonDAO.xml
science-admin/src/main/resources/mapper/ComPersonDAO.xml
+4
-4
ComProjectGroupAssignDAO.xml
...in/src/main/resources/mapper/ComProjectGroupAssignDAO.xml
+2
-2
ComProjectMembersDAO.xml
...-admin/src/main/resources/mapper/ComProjectMembersDAO.xml
+1
-1
SystemUserDAO.xml
science-admin/src/main/resources/mapper/SystemUserDAO.xml
+2
-2
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComExpertServiceImpl.java
View file @
9298b6e7
...
...
@@ -196,7 +196,7 @@ public class ComExpertServiceImpl extends BaseServiceImpl<ComExpertDAO, ComExper
//职称
List
<
SystemParameter
>
titleList
=
systemParameterService
.
getListByType
(
7
);
//专业学科
List
<
SystemParameter
>
specList
=
systemParameterService
.
getListByType
(
57
);
List
<
SystemParameter
>
specList
=
systemParameterService
.
getListByType
(
68
);
list
.
forEach
(
e
->
{
if
(
null
!=
comPersonService
.
getPersonByCertId
(
e
.
getCertId
()))
return
;
...
...
science-admin/src/main/resources/mapper/ComExpertSpecDAO.xml
View file @
9298b6e7
...
...
@@ -13,7 +13,7 @@
<select
id=
"getListByExpertId"
parameterType=
"java.lang.String"
resultType=
"com.yiboshi.science.param.dto.ComExpertSpecDTO"
>
SELECT a.spec_id,b.name specName
FROM com_expert_spec a
left join system_parameter b on a.spec_id=b.id and b.type_id=
57
left join system_parameter b on a.spec_id=b.id and b.type_id=
68
where expert_id=#{expertId} order by a.show_index
</select>
<select
id=
"getExpertListBySpecId"
resultType=
"com.yiboshi.science.param.dto.ComExpertDTO"
>
...
...
science-admin/src/main/resources/mapper/ComPersonDAO.xml
View file @
9298b6e7
...
...
@@ -23,7 +23,7 @@
left join system_parameter g on e.nation=g.id and g.type_id=11
left join system_parameter h on e.education=h.id and h.type_id=8
left join system_parameter i on e.title=i.id and i.type_id=7
left join system_parameter j on e.spec=j.id and j.type_id=
42
left join system_parameter j on e.spec=j.id and j.type_id=
68
left join system_parameter k on j.parent_id = k.id
<where>
${ew.sqlSegment}
...
...
@@ -39,7 +39,7 @@
left join system_parameter g on e.nation=g.id and g.type_id=11
left join system_parameter h on e.education=h.id and h.type_id=8
left join system_parameter i on e.title=i.id and i.type_id=7
left join system_parameter j on e.spec=j.id and j.type_id=
42
left join system_parameter j on e.spec=j.id and j.type_id=
68
left join system_parameter k on j.parent_id = k.id
<where>
${ew.sqlSegment}
...
...
@@ -62,7 +62,7 @@
left join system_parameter c on a.nation = c.id and c.type_id = 11
left join system_parameter d on a.education = d.id and d.type_id = 8
left join system_parameter e on a.title = e.id and e.type_id = 7
left join system_parameter f on a.spec = f.id and f.type_id =
42
left join system_parameter f on a.spec = f.id and f.type_id =
68
left join system_parameter h on a.degree = h.id and h.type_id = 9
where a.id = #{id}
</select>
...
...
@@ -73,7 +73,7 @@
left join system_parameter c on a.nation = c.id and c.type_id = 11
left join system_parameter d on a.education = d.id and d.type_id = 8
left join system_parameter e on a.title = e.id and e.type_id = 7
left join system_parameter f on a.spec = f.id and f.type_id =
42
left join system_parameter f on a.spec = f.id and f.type_id =
68
</select>
<select
id=
"getManagerListByUnitId"
resultType=
"com.yiboshi.science.param.dto.ComPersonDTO"
>
SELECT a.*,b.unit_name,c.username,c.password,c.id user_id,d.id user_role_id,d.state,
...
...
science-admin/src/main/resources/mapper/ComProjectGroupAssignDAO.xml
View file @
9298b6e7
...
...
@@ -12,8 +12,8 @@
LEFT JOIN com_expert b ON a.expert_id = b.id
LEFT JOIN com_person c ON b.person_id = c.id
LEFT JOIN com_unit g ON c.unit_id = g.id
left join system_parameter d on a.knowledge_id = d.id
and d.type_id = 57
left join system_parameter e on c.title=e.id
and e.type_id = 7
left join system_parameter d on a.knowledge_id = d.id
left join system_parameter e on c.title=e.id
<where>
${ew.sqlSegment}
</where>
...
...
science-admin/src/main/resources/mapper/ComProjectMembersDAO.xml
View file @
9298b6e7
...
...
@@ -18,7 +18,7 @@
left join system_parameter c on a.nation=c.id and c.type_id=11
left join system_parameter d on a.title = d.id and d.type_id=7
left join system_parameter e on a.degree=e.id and e.type_id=9
left join system_parameter f on a.spec=f.id and f.type_id=
42
left join system_parameter f on a.spec=f.id and f.type_id=
68
left join com_download g on a.file_id=g.id
where object_id=#{objectId}
order by a.show_index asc
...
...
science-admin/src/main/resources/mapper/SystemUserDAO.xml
View file @
9298b6e7
...
...
@@ -30,7 +30,7 @@
LEFT JOIN system_parameter g on e.nation=g.id and g.type_id=11
LEFT JOIN system_parameter h on e.education=h.id and h.type_id=8
LEFT JOIN system_parameter i on e.title=i.id and i.type_id=7
LEFT JOIN system_parameter j on e.spec=j.id and j.type_id=
42
LEFT JOIN system_parameter j on e.spec=j.id and j.type_id=
68
LEFT JOIN system_parameter k on j.parent_id = k.id
<where>
${ew.sqlSegment}
...
...
@@ -47,7 +47,7 @@
LEFT JOIN system_parameter g on e.nation=g.id and g.type_id=11
LEFT JOIN system_parameter h on e.education=h.id and h.type_id=8
LEFT JOIN system_parameter i on e.title=i.id and i.type_id=7
LEFT JOIN system_parameter j on e.spec=j.id and j.type_id=
42
LEFT JOIN system_parameter j on e.spec=j.id and j.type_id=
68
LEFT JOIN system_parameter k on j.parent_id = k.id
where a.id = #{id}
</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