Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
190e7c25
Commit
190e7c25
authored
Dec 03, 2021
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改排序
parent
aabb153f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
VoiceRecordFileController.java
.../module/jcs/biz/controller/VoiceRecordFileController.java
+13
-13
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/VoiceRecordFileController.java
View file @
190e7c25
...
...
@@ -98,19 +98,19 @@ public class VoiceRecordFileController extends BaseController {
page
.
setSize
(
pageSize
);
String
sortParam
=
""
;
String
sortRule
=
""
;
if
(
sort
!=
null
)
{
// 排序失效
String
[]
date
=
sort
.
split
(
","
);
if
(
date
[
1
].
equals
(
"ascend"
))
{
sortParam
=
RedisKey
.
humpToLine
(
date
[
0
]);
sortRule
=
"asc"
;
}
else
{
sortParam
=
RedisKey
.
humpToLine
(
date
[
0
]);
sortRule
=
"desc"
;
}
}
else
{
sortParam
=
"rec_dat
e"
;
sortRule
=
"desc"
;
}
//
if(sort!=null) { // 排序失效
//
String[] date= sort.split(",");
//
if(date[1].equals("ascend")) {
//
sortParam = RedisKey.humpToLine(date[0]);
//
sortRule = "asc";
//
}else {
//
sortParam =RedisKey.humpToLine(date[0]);
//
sortRule = "desc";
//
}
//
}else {
// sortParam = "tel_start_tim
e";
//
sortRule = "desc";
//
}
Page
<
VoiceRecordFileDto
>
pageBean
=
voiceRecordFileService
.
queryRecordListByQueryDto
(
page
,
model
.
getTelStartTimeStr
(),
model
.
getTelEndTimeStr
(),
model
.
getFileType
(),
model
.
getCaller
(),
model
.
getCalled
(),
sortParam
,
sortRule
);
...
...
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