|
@@ -74,6 +74,8 @@ public class DeliveryController extends BaseController {
|
|
if (req.getDeliveryTime() != null && StringUtils.isNotBlank(String.valueOf(req.getDeliveryTime()))) {
|
|
if (req.getDeliveryTime() != null && StringUtils.isNotBlank(String.valueOf(req.getDeliveryTime()))) {
|
|
queryWrapper.between(Delivery::getDeliveryTime, DateUtils.getDayStartTime(req.getDeliveryTime()), DateUtils.getDayEndTime(req.getDeliveryTime()));
|
|
queryWrapper.between(Delivery::getDeliveryTime, DateUtils.getDayStartTime(req.getDeliveryTime()), DateUtils.getDayEndTime(req.getDeliveryTime()));
|
|
}
|
|
}
|
|
|
|
+ queryWrapper.gt(Delivery::getId, 0);
|
|
|
|
+ queryWrapper.orderByDesc(Delivery::getId);
|
|
Page<Delivery> page = new Page<>(req.getPage(), req.getRows());
|
|
Page<Delivery> page = new Page<>(req.getPage(), req.getRows());
|
|
IPage<Delivery> data = this.deliveryService.page(page, queryWrapper);
|
|
IPage<Delivery> data = this.deliveryService.page(page, queryWrapper);
|
|
return data;
|
|
return data;
|