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);
|
}
|