diff --git a/boot/platform/src/main/java/com/plate/boot/commons/utils/query/QueryFragment.java b/boot/platform/src/main/java/com/plate/boot/commons/utils/query/QueryFragment.java index 0746a75e..11b88013 100644 --- a/boot/platform/src/main/java/com/plate/boot/commons/utils/query/QueryFragment.java +++ b/boot/platform/src/main/java/com/plate/boot/commons/utils/query/QueryFragment.java @@ -83,6 +83,12 @@ public QueryFragment addWhere(CharSequence where) { return this; } + /** + * Adds an ORDER BY clause to the query. + * + * @param order the order + * @return this + */ public QueryFragment addOrder(CharSequence order) { orderSql.add(order); return this;