Commit 29cd4651 by 叶立庆

多条件查询排序规则,优先用外层规则,没有,则用内层规则

1 parent 657426a9
......@@ -177,7 +177,9 @@ public class TaskCenterGatewayService {
condition = new TaskQueryConditionDTO();
}
if (condition != null) {
condition.setOrderBy(request.getOrderBy());
if (request.getOrderBy()!= null&& !request.getOrderBy().trim().isEmpty()){
condition.setOrderBy(request.getOrderBy());
}
}
pagination.setCondition(condition);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!