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
c232c0bd
Commit
c232c0bd
authored
Dec 27, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
77
parent
222cdb38
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ComExpertServiceImpl.java
...om/yiboshi/science/service/impl/ComExpertServiceImpl.java
+1
-1
ComExpertDAO.xml
science-admin/src/main/resources/mapper/ComExpertDAO.xml
+2
-2
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComExpertServiceImpl.java
View file @
c232c0bd
...
@@ -83,7 +83,7 @@ public class ComExpertServiceImpl extends BaseServiceImpl<ComExpertDAO, ComExper
...
@@ -83,7 +83,7 @@ public class ComExpertServiceImpl extends BaseServiceImpl<ComExpertDAO, ComExper
criteria
.
eq
(
"e.spec"
,
vo
.
getSpec
());
criteria
.
eq
(
"e.spec"
,
vo
.
getSpec
());
}
}
if
(
Objects
.
nonNull
(
vo
.
getSpecParentId
()))
{
if
(
Objects
.
nonNull
(
vo
.
getSpecParentId
()))
{
criteria
.
eq
(
"j.parent_id"
,
vo
.
getSpecParentId
(
));
criteria
.
and
(
qw
->
qw
.
eq
(
"j.id"
,
vo
.
getSpecParentId
()).
or
().
eq
(
"k.id"
,
vo
.
getSpecParentId
()).
or
().
eq
(
"m.id"
,
vo
.
getSpecParentId
()
));
}
}
}
}
...
...
science-admin/src/main/resources/mapper/ComExpertDAO.xml
View file @
c232c0bd
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
left join system_parameter g on e.nation=g.id and g.type_id=11
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 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 i on e.title=i.id and i.type_id=7
-- left join system_parameter m on i.parent_id = m.id
left join com_expert_spec p on a.id=p.expert_id
left join com_expert_spec p on a.id=p.expert_id
left join system_parameter j on p.spec_id=j.id
left join system_parameter j on p.spec_id=j.id
-- left join system_parameter k on j.parent_id = k.id
left join system_parameter k on j.parent_id = k.id
left join system_parameter m on k.parent_id = m.id
<where>
<where>
${ew.sqlSegment}
${ew.sqlSegment}
</where>
</where>
...
...
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