|
|
@@ -132,9 +132,9 @@ select to_char(t.orderid) orderid,
|
|
|
sqlId.JoinFormat(" (CASE WHEN u.memberuserid = %v THEN 1 ELSE 2 END), ", r.MEMBERUSERID)
|
|
|
}
|
|
|
if r.BUYORSELL == 0 {
|
|
|
- sqlId.Join(" t.orderprice desc, t.ordertime desc")
|
|
|
+ sqlId.Join(" t.orderprice desc, t.orderid desc")
|
|
|
} else {
|
|
|
- sqlId.Join(" t.orderprice, t.ordertime desc")
|
|
|
+ sqlId.Join(" t.orderprice, t.orderid desc")
|
|
|
}
|
|
|
sqlId.Page(r.Page, r.PageSize)
|
|
|
|