用户订单分页查询
This commit is contained in:
parent
916297de2f
commit
5e92048612
@ -138,4 +138,9 @@ public class EbikeUserAllOrdersVo {
|
||||
@JsonDeserialize(using = PGpointDeserializer.class)
|
||||
private PGpoint endLocation;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
|
||||
@ -283,7 +283,8 @@ public class EbikeOrderImpl extends ServiceImpl<EbikeOrderMapper, EbikeOrder> im
|
||||
EBIKE_ORDER.MAX_FEE_AMOUNT,
|
||||
EBIKE_ORDER.HELMET_MANAGEMENT_FEE,
|
||||
EBIKE_ORDER.START_LOCATION,
|
||||
EBIKE_ORDER.END_LOCATION
|
||||
EBIKE_ORDER.END_LOCATION,
|
||||
EBIKE_ORDER.CREATE_TIME
|
||||
)
|
||||
.where(EBIKE_ORDER.USER_ID.eq(userId))
|
||||
.orderBy(EBIKE_ORDER.CREATE_TIME.desc());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user