Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
8a5d4e17
Commit
8a5d4e17
authored
Dec 30, 2021
by
rongkailun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】中心活动、地方动态按照文档中提供得语句修改,排序部分,没有改需求。
parent
2948ac2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
23 deletions
+1
-23
NewsDao.xml
src/main/resources/mapper/manage/NewsDao.xml
+1
-23
No files found.
src/main/resources/mapper/manage/NewsDao.xml
View file @
8a5d4e17
...
@@ -188,29 +188,7 @@
...
@@ -188,29 +188,7 @@
</select>
</select>
<select
id=
"selectRealTimeInfo"
resultMap=
"newsMap"
>
<select
id=
"selectRealTimeInfo"
resultMap=
"newsMap"
>
SELECT t.id,
select * from news where status=1 and levels>0 and classid=#{newsParams.classId} ORDER BY levels DESC,showtime DESC,id DESC
t.title,
t.author,
t.showtime,
t.startdate,
t.keyword,
t.editor,
t.lasteditor,
t.auditor,
t.status,
t.classid,
t.levels,
t.releasedate,
t.updatedate,
t1.name
from news t
LEFT JOIN newsClass t1
on t.classid = t1.id
where t1.name is not null
and t.classid = #{newsParams.classId}
and t.levels > 0
and t.status = '1'
order by t.levels desc,t.showtime DESC,t.id desc
</select>
</select>
<select
id=
"getHdbdList"
resultMap=
"newsMap"
>
<select
id=
"getHdbdList"
resultMap=
"newsMap"
>
...
...
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