|
@@ -678,6 +678,8 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
List<Long> page = baseMapper.getOrderGoodsIds(bo);
|
|
|
PageInfo<Long> pageInfo = new PageInfo<Long>(page);
|
|
|
if (CollectionUtils.isEmpty(pageInfo.getList())){
|
|
|
+ tableDataInfo.setTotal(0L);
|
|
|
+ tableDataInfo.setRows(new ArrayList());
|
|
|
return tableDataInfo;
|
|
|
}
|
|
|
tableDataInfo.setTotal(pageInfo.getTotal());
|