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
0c31b453
Commit
0c31b453
authored
Nov 05, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】sql 排序
parent
0b141412
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
AnnounceDao.xml
src/main/resources/mapper/manage/AnnounceDao.xml
+1
-1
CasesDao.xml
src/main/resources/mapper/manage/CasesDao.xml
+1
-1
DocDao.xml
src/main/resources/mapper/manage/DocDao.xml
+1
-1
GlossaryDao.xml
src/main/resources/mapper/manage/GlossaryDao.xml
+1
-1
IndexCarouselManageDao.xml
src/main/resources/mapper/manage/IndexCarouselManageDao.xml
+1
-1
KnowledgeinfoDao.xml
src/main/resources/mapper/manage/KnowledgeinfoDao.xml
+1
-1
NewsDao.xml
src/main/resources/mapper/manage/NewsDao.xml
+1
-1
NewsMovieDao.xml
src/main/resources/mapper/manage/NewsMovieDao.xml
+1
-1
PartnersDao.xml
src/main/resources/mapper/manage/PartnersDao.xml
+1
-1
PictureDao.xml
src/main/resources/mapper/manage/PictureDao.xml
+1
-1
PolicyDao.xml
src/main/resources/mapper/manage/PolicyDao.xml
+1
-1
ProductDao.xml
src/main/resources/mapper/manage/ProductDao.xml
+1
-1
RetailpictureDao.xml
src/main/resources/mapper/manage/RetailpictureDao.xml
+1
-1
TopicnewsDao.xml
src/main/resources/mapper/manage/TopicnewsDao.xml
+1
-1
No files found.
src/main/resources/mapper/manage/AnnounceDao.xml
View file @
0c31b453
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY a.${newsParams.sidx} ${newsParams.order}
,
ORDER BY a.${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY a.id DESC
ORDER BY a.id DESC
...
...
src/main/resources/mapper/manage/CasesDao.xml
View file @
0c31b453
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY t.${newsParams.sidx} ${newsParams.order}
,
ORDER BY t.${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY t.id DESC
ORDER BY t.id DESC
...
...
src/main/resources/mapper/manage/DocDao.xml
View file @
0c31b453
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY ${newsParams.sidx} ${newsParams.order}
,
ORDER BY ${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
order by id desc
order by id desc
...
...
src/main/resources/mapper/manage/GlossaryDao.xml
View file @
0c31b453
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
ORDER BY t.${params.sidx} ${params.order}
,
ORDER BY t.${params.sidx} ${params.order}
</when>
</when>
<otherwise>
<otherwise>
order by id desc
order by id desc
...
...
src/main/resources/mapper/manage/IndexCarouselManageDao.xml
View file @
0c31b453
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"indexCarouselManage.sidx!=null and indexCarouselManage.sidx!=''"
>
<when
test=
"indexCarouselManage.sidx!=null and indexCarouselManage.sidx!=''"
>
ORDER BY ${indexCarouselManage.sidx} ${indexCarouselManage.order}
,
ORDER BY ${indexCarouselManage.sidx} ${indexCarouselManage.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY t.levels desc,t.starttime_index DESC,t.id desc
ORDER BY t.levels desc,t.starttime_index DESC,t.id desc
...
...
src/main/resources/mapper/manage/KnowledgeinfoDao.xml
View file @
0c31b453
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY ${newsParams.sidx} ${newsParams.order}
,
ORDER BY ${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY
ORDER BY
...
...
src/main/resources/mapper/manage/NewsDao.xml
View file @
0c31b453
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY ${newsParams.sidx} ${newsParams.order}
,
ORDER BY ${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY id desc
ORDER BY id desc
...
...
src/main/resources/mapper/manage/NewsMovieDao.xml
View file @
0c31b453
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
ORDER BY ${params.sidx} ${params.order}
,
ORDER BY ${params.sidx} ${params.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY releasedate desc
ORDER BY releasedate desc
...
...
src/main/resources/mapper/manage/PartnersDao.xml
View file @
0c31b453
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY ${newsParams.sidx} ${newsParams.order}
,
ORDER BY ${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
order by id desc
order by id desc
...
...
src/main/resources/mapper/manage/PictureDao.xml
View file @
0c31b453
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
ORDER BY ${params.sidx} ${params.order}
,
ORDER BY ${params.sidx} ${params.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY pictureID DESC
ORDER BY pictureID DESC
...
...
src/main/resources/mapper/manage/PolicyDao.xml
View file @
0c31b453
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY ${newsParams.sidx} ${newsParams.order}
,
ORDER BY ${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
order by id desc
order by id desc
...
...
src/main/resources/mapper/manage/ProductDao.xml
View file @
0c31b453
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</if>
</if>
<choose>
<choose>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
ORDER BY a.${params.sidx} ${params.order}
,
ORDER BY a.${params.sidx} ${params.order}
</when>
</when>
<otherwise>
<otherwise>
order by a.id desc
order by a.id desc
...
...
src/main/resources/mapper/manage/RetailpictureDao.xml
View file @
0c31b453
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
<when
test=
"params.sidx!=null and params.sidx!=''"
>
ORDER BY ${params.sidx} ${params.order}
,
ORDER BY ${params.sidx} ${params.order}
</when>
</when>
<otherwise>
<otherwise>
ORDER BY
ORDER BY
...
...
src/main/resources/mapper/manage/TopicnewsDao.xml
View file @
0c31b453
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</choose>
</choose>
<choose>
<choose>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
<when
test=
"newsParams.sidx!=null and newsParams.sidx!=''"
>
ORDER BY b.${newsParams.sidx} ${newsParams.order}
,
ORDER BY b.${newsParams.sidx} ${newsParams.order}
</when>
</when>
<otherwise>
<otherwise>
order by b.levels desc,b.releasedate desc
order by b.levels desc,b.releasedate desc
...
...
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