返回默认值

This commit is contained in:
2025-12-23 16:03:09 +08:00
parent ed1b6b2ecf
commit a05d8083bc
10 changed files with 24 additions and 15 deletions

View File

@@ -162,7 +162,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
.like(OrderDetail::getProductName, productName);
like = orderDetailService.listAs(queryWrapper, Long.class);
if (CollUtil.isEmpty(like)) {
return new Page<>();
return PageUtil.emptyPage();
}
}
QueryWrapper queryWrapper = PageUtil.buildSortQueryWrapper();