Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
375f6d53
Commit
375f6d53
authored
Jun 03, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改appbug
parent
bbef4627
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ExhibitionBoardMapper.xml
src/main/resources/mapper/ExhibitionBoardMapper.xml
+3
-4
No files found.
src/main/resources/mapper/ExhibitionBoardMapper.xml
View file @
375f6d53
...
...
@@ -32,14 +32,13 @@
<select
id=
"getList"
resultMap=
"BaseResultMap"
>
SELECT distinct a.name,a.cover from
( select e.name,e.cover,lb.sortorder,e.create_time
select e.name,e.cover,lb.sortorder,e.create_time
from exhibition_board e
left join learning_content_board lb on lb.exhibition_board_id = e.id
left join learning_content lc on lb.learning_content_id = lc.id and lc.is_deleted = 0
left join learning_project p on lc.learning_project_id = p.id
where e.is_published = #{isPublished} and p.id = #{learningProjectId}
order by lb.sortorder
,e.create_time DESC)a
where e.is_published = #{isPublished} and p.id = #{learningProjectId}
and e.is_deleted = 0 and lc.is_deleted = 0 and lc.is_published = 1
order by lb.sortorder
desc,e.create_time DESC
</select>
</mapper>
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