超市订单
This commit is contained in:
@ -33,6 +33,9 @@ public class StoreOrderPageReqVO extends PageParam {
|
|||||||
@Schema(description = "总价钱", example = "1722")
|
@Schema(description = "总价钱", example = "1722")
|
||||||
private Double totalPrice;
|
private Double totalPrice;
|
||||||
|
|
||||||
|
@Schema(description = "用户ID")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
@ -25,6 +25,7 @@ public interface StoreOrderMapper extends BaseMapperX<StoreOrderDO> {
|
|||||||
.eqIfPresent(StoreOrderDO::getEquipmentCode, reqVO.getEquipmentCode())
|
.eqIfPresent(StoreOrderDO::getEquipmentCode, reqVO.getEquipmentCode())
|
||||||
.eqIfPresent(StoreOrderDO::getUuid, reqVO.getUuid())
|
.eqIfPresent(StoreOrderDO::getUuid, reqVO.getUuid())
|
||||||
.eqIfPresent(StoreOrderDO::getTotalPrice, reqVO.getTotalPrice())
|
.eqIfPresent(StoreOrderDO::getTotalPrice, reqVO.getTotalPrice())
|
||||||
|
.eqIfPresent(StoreOrderDO::getUserId, reqVO.getUserId())
|
||||||
.betweenIfPresent(StoreOrderDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(StoreOrderDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(StoreOrderDO::getOrderId));
|
.orderByDesc(StoreOrderDO::getOrderId));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user