mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 04:11:41 +08:00
fixed: 资源的列表无分类筛选 && 分类资源数量计算
This commit is contained in:
@@ -4,6 +4,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.Resource;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.mapper.ResourceCategoryCountMapper;
|
||||
import xyz.playedu.api.types.paginate.ResourcePaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -19,7 +20,11 @@ public interface ResourceMapper extends BaseMapper<Resource> {
|
||||
|
||||
List<ResourceCategoryCountMapper> getCategoryCount(String type);
|
||||
|
||||
Integer getNoneCategoryCount(String type);
|
||||
Integer getNunCategoryCount(String type);
|
||||
|
||||
List<Resource> paginate(ResourcePaginateFilter filter);
|
||||
|
||||
Long paginateCount(ResourcePaginateFilter filter);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user