Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-taskcenter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 29cd4651
authored
May 22, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
多条件查询排序规则,优先用外层规则,没有,则用内层规则
1 parent
657426a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/taskcenter/service/taskcenter/TaskCenterGatewayService.java
src/main/java/cn/com/glsx/dj/taskcenter/service/taskcenter/TaskCenterGatewayService.java
View file @
29cd465
...
@@ -177,8 +177,10 @@ public class TaskCenterGatewayService {
...
@@ -177,8 +177,10 @@ public class TaskCenterGatewayService {
condition
=
new
TaskQueryConditionDTO
();
condition
=
new
TaskQueryConditionDTO
();
}
}
if
(
condition
!=
null
)
{
if
(
condition
!=
null
)
{
if
(
request
.
getOrderBy
()!=
null
&&
!
request
.
getOrderBy
().
trim
().
isEmpty
()){
condition
.
setOrderBy
(
request
.
getOrderBy
());
condition
.
setOrderBy
(
request
.
getOrderBy
());
}
}
}
pagination
.
setCondition
(
condition
);
pagination
.
setCondition
(
condition
);
RpcResponse
<
RpcPagination
<
TaskDTO
>>
rpcResponse
=
taskCenterRemote
.
pageTask
(
pagination
);
RpcResponse
<
RpcPagination
<
TaskDTO
>>
rpcResponse
=
taskCenterRemote
.
pageTask
(
pagination
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment