返回资源分类的资源数量

This commit is contained in:
none
2023-03-15 11:31:42 +08:00
parent cca6d050bc
commit 3b67766ab2
12 changed files with 116 additions and 20 deletions

View File

@@ -7,6 +7,7 @@ import xyz.playedu.api.types.paginate.PaginationResult;
import xyz.playedu.api.types.paginate.ResourcePaginateFilter;
import java.util.List;
import java.util.Map;
/**
* @author tengteng
@@ -29,4 +30,7 @@ public interface ResourceService extends IService<Resource> {
List<Resource> chunks(List<Integer> ids, List<String> fields);
Map<Integer, Integer> getCategoryCount(String type);
Integer total(String type);
}