From b394df082b875856884d6d02cce2a43c49ad6704 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Fri, 30 May 2025 16:44:46 +0800 Subject: [PATCH] Merge branch 'feature/pc-base' into xin --- oying-system/src/main/java/com/oying/modules/pc/category/service/PlatformCategoryService.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/service/PlatformCategoryService.java b/oying-system/src/main/java/com/oying/modules/pc/category/service/PlatformCategoryService.java new file mode 100644 index 0000000..490df6b --- /dev/null +++ b/oying-system/src/main/java/com/oying/modules/pc/category/service/PlatformCategoryService.java @@ -0,0 +1,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); +} -- Gitblit v1.9.3