Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
13919f0c
Commit
13919f0c
authored
Oct 14, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-14 修复文档浏览上传时间排序功能
parent
8826a92d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ServiceHGWD002.java
.../java/com/baosight/hggp/hg/wd/service/ServiceHGWD002.java
+6
-0
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD002.java
View file @
13919f0c
...
@@ -99,6 +99,9 @@ public class ServiceHGWD002 extends ServiceBase {
...
@@ -99,6 +99,9 @@ public class ServiceHGWD002 extends ServiceBase {
case
"createdTime asc"
:
case
"createdTime asc"
:
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"createdTime asc"
,
"b.createdTime asc"
));
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"createdTime asc"
,
"b.createdTime asc"
));
break
;
break
;
case
"updatedTime asc"
:
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"updatedTime asc"
,
"b.updatedTime asc"
));
break
;
case
"previewNum asc"
:
case
"previewNum asc"
:
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"previewNum asc"
,
"b.previewNum asc"
));
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"previewNum asc"
,
"b.previewNum asc"
));
break
;
break
;
...
@@ -126,6 +129,9 @@ public class ServiceHGWD002 extends ServiceBase {
...
@@ -126,6 +129,9 @@ public class ServiceHGWD002 extends ServiceBase {
case
"downloadNum desc"
:
case
"downloadNum desc"
:
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"downloadNum desc"
,
"b.downloadNum desc"
));
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"downloadNum desc"
,
"b.downloadNum desc"
));
break
;
break
;
case
"updatedTime desc"
:
orderByStr
.
append
(
orderBy
[
i
].
replace
(
"updatedTime desc"
,
"b.updatedTime desc"
));
break
;
default
:
default
:
if
(!
orderBy
[
i
].
isEmpty
()){
if
(!
orderBy
[
i
].
isEmpty
()){
orderByStr
.
append
(
orderBy
[
i
]);
orderByStr
.
append
(
orderBy
[
i
]);
...
...
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