Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
entrance_api
Project
Project
Details
Activity
Releases
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
王琮
entrance_api
Commits
61a9c5fb
Commit
61a9c5fb
authored
Dec 13, 2022
by
王琮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改排序传参
parent
c3f470ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VisitPersonRepositorys.xml
src/main/resources/mapper/VisitPersonRepositorys.xml
+2
-2
No files found.
src/main/resources/mapper/VisitPersonRepositorys.xml
View file @
61a9c5fb
...
@@ -138,14 +138,14 @@
...
@@ -138,14 +138,14 @@
<if
test=
"entity.lastDateQueryEnd != null"
>
<if
test=
"entity.lastDateQueryEnd != null"
>
and date_format(su.last_date,'%Y-%m-%d')
<
= date_format(#{entity.lastDateQueryEnd},'%Y-%m-%d')
and date_format(su.last_date,'%Y-%m-%d')
<
= date_format(#{entity.lastDateQueryEnd},'%Y-%m-%d')
</if>
</if>
<if
test=
"entity.sort == '
1
'.toString() "
>
<!-- 排序-->
<if
test=
"entity.sort == '
3
'.toString() "
>
<!-- 排序-->
order BY su.first_date desc,su.create_date desc
order BY su.first_date desc,su.create_date desc
</if>
</if>
<if
test=
"entity.sort == '2'.toString() "
>
<!-- 排序-->
<if
test=
"entity.sort == '2'.toString() "
>
<!-- 排序-->
-- order BY su.name desc
-- order BY su.name desc
order BY F_GET_PYJM(su.name)
order BY F_GET_PYJM(su.name)
</if>
</if>
<if
test=
"entity.sort == '
3
'.toString() "
>
<!-- 排序-->
<if
test=
"entity.sort == '
1
'.toString() "
>
<!-- 排序-->
order BY su.last_date desc,su.create_date desc
order BY su.last_date desc,su.create_date desc
</if>
</if>
</select>
</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