mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
fix Page bug
This commit is contained in:
@@ -134,10 +134,7 @@ public class Page implements Serializable {
|
||||
* @param orders 排序
|
||||
*/
|
||||
public void addOrder(Order... orders) {
|
||||
if (null != this.orders) {
|
||||
ArrayUtil.append(this.orders, orders);
|
||||
}
|
||||
this.orders = orders;
|
||||
this.orders = ArrayUtil.append(this.orders, orders);
|
||||
}
|
||||
// ---------------------------------------------------------- Getters and Setters end
|
||||
|
||||
|
Reference in New Issue
Block a user