Commit 9a4cc9e7 authored by 王晓旭's avatar 王晓旭
parents 4eace9cb ecdfc0f6
......@@ -90,9 +90,9 @@ public class WorkmanController extends BaseCRUDJsonBodyMappingController<Workman
if (ObjectUtils.isEmpty(query.getOrderColList())) {
ArrayList<OrderCol> orderCols = new ArrayList<>();
OrderCol orderCol = new OrderCol("roomId", OrderCol.ASCENDING);
OrderCol orderCol = new OrderCol("order", OrderCol.DESCENDING);
orderCols.add(orderCol);
orderCol = new OrderCol("order", OrderCol.DESCENDING);
orderCol = new OrderCol("roomId", OrderCol.ASCENDING);
orderCols.add(orderCol);
query.setOrderColList(orderCols);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment