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
5d5dbbb0
Commit
5d5dbbb0
authored
Dec 07, 2022
by
罗可心
😕
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
c8ce4efa
3d3aa03e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
InvitedPersonServiceImpl.java
...soft/sys/visit/service/impl/InvitedPersonServiceImpl.java
+4
-0
InvitedPersonMapper.xml
src/main/resources/mapper/InvitedPersonMapper.xml
+3
-0
No files found.
src/main/java/org/rcisoft/sys/visit/service/impl/InvitedPersonServiceImpl.java
View file @
5d5dbbb0
...
@@ -109,6 +109,10 @@ public class InvitedPersonServiceImpl extends ServiceImpl<InvitedPersonRepositor
...
@@ -109,6 +109,10 @@ public class InvitedPersonServiceImpl extends ServiceImpl<InvitedPersonRepositor
//获取当前用户手机号
//获取当前用户手机号
String
phone
=
CyUserUtil
.
getUserInfoStrProp
(
cyJwtUtil
.
getToken
(
request
),
CyUserUtil
.
USER_PHONE
);
String
phone
=
CyUserUtil
.
getUserInfoStrProp
(
cyJwtUtil
.
getToken
(
request
),
CyUserUtil
.
USER_PHONE
);
// System.out.println("用户手机号" + phone);
// System.out.println("用户手机号" + phone);
// 设置默认排序方式
if
(
visitInfomation
.
getSort
()
==
null
||
visitInfomation
.
getSort
().
equals
(
""
)){
visitInfomation
.
setSort
(
"3"
);
}
//查找对象
//查找对象
IPage
<
VisitInfoMation
>
visitInfoMationIPage
=
invitedPersonRepository
.
queryVisitInfomationsPaged
(
paginationUtility
,
visitInfomation
,
phone
);
IPage
<
VisitInfoMation
>
visitInfoMationIPage
=
invitedPersonRepository
.
queryVisitInfomationsPaged
(
paginationUtility
,
visitInfomation
,
phone
);
...
...
src/main/resources/mapper/InvitedPersonMapper.xml
View file @
5d5dbbb0
...
@@ -79,6 +79,9 @@
...
@@ -79,6 +79,9 @@
<if
test=
"entity.sort == '2'.toString()"
>
<if
test=
"entity.sort == '2'.toString()"
>
vi.visit_real_time
vi.visit_real_time
</if>
</if>
<if
test=
"entity.sort == '3'.toString()"
>
vi.visit_real_time desc
</if>
</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