zepengdev
2025-05-30 2dd51502c00f9abd30c61ded7de025aecba0e88c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.oying.modules.pc.category.service;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.oying.modules.pc.category.domain.PlatformCategory;
import com.oying.modules.pc.category.domain.dto.PlatformCategoryCreateRequest;
import com.oying.modules.pc.category.domain.dto.PlatformCategoryQueryCriteria;
import com.oying.modules.pc.category.domain.dto.PlatformCategoryUpdateDto;
import com.oying.modules.pc.category.domain.dto.PlatformCategoryUpdateRequest;
import com.oying.utils.PageResult;
 
import java.util.List;
 
/**
 * 平台类目服务接口
 *
 * @author lzp
 * @date 2025-04-30
 **/
public interface PlatformCategoryService extends IService<PlatformCategory> {
 
    /**
     * 查询数据分页
     *
     * @param criteria 条件
     * @param page     分页参数
     * @return PageResult
     */
    PageResult<PlatformCategory> queryAll(PlatformCategoryQueryCriteria criteria, Page<Object> page);
 
    /**
     * 查询所有数据不分页
     *
     * @param criteria 条件参数
     * @return List<PlatformCategoryDto>
     */
    List<PlatformCategory> queryAll(PlatformCategoryQueryCriteria criteria);
 
    /**
     * 创建
     *
     * @param resources /
     */
    void create(PlatformCategoryCreateRequest resources);
 
    /**
     * 编辑
     *
     * @param resources /
     */
    void update(PlatformCategoryUpdateDto resources);
 
    /**
     * 多选删除
     *
     * @param ids /
     */
    void deleteAll(List<Long> ids);
}