订单查询为空
This commit is contained in:
@@ -112,7 +112,9 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
||||
.eq(OrderDetail::getShopId, param.getShopId())
|
||||
.like(OrderDetail::getProductName, productName).listAs(Long.class);
|
||||
}
|
||||
|
||||
if (CollUtil.isEmpty(like)) {
|
||||
return new Page<>();
|
||||
}
|
||||
QueryWrapper queryWrapper = PageUtil.buildSortQueryWrapper();
|
||||
|
||||
queryWrapper.eq(OrderInfo::getShopId, param.getShopId())
|
||||
|
||||
Reference in New Issue
Block a user