From d93356927d8a0a5a91963c28d461d9107562d759 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Fri, 30 May 2025 17:38:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/xin' --- oying-system/src/main/java/com/oying/modules/system/service/MerchantsService.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/system/service/MerchantsService.java b/oying-system/src/main/java/com/oying/modules/system/service/MerchantsService.java new file mode 100644 index 0000000..c822ba9 --- /dev/null +++ b/oying-system/src/main/java/com/oying/modules/system/service/MerchantsService.java @@ -0,0 +1,59 @@ +package com.oying.modules.system.service; + +import com.oying.modules.system.domain.Merchants; +import com.oying.modules.system.domain.dto.MerchantsQueryCriteria; +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.extension.service.IService; +import com.oying.utils.PageResult; + +/** +* @description 服务接口 +* @author lixin +* @date 2025-05-29 +**/ +public interface MerchantsService extends IService<Merchants> { + + /** + * 查询数据分页 + * @param criteria 条件 + * @param page 分页参数 + * @return PageResult + */ + PageResult<Merchants> queryAll(MerchantsQueryCriteria criteria, Page<Object> page); + + /** + * 查询所有数据不分页 + * @param criteria 条件参数 + * @return List<MerchantsDto> + */ + List<Merchants> queryAll(MerchantsQueryCriteria criteria); + + /** + * 创建 + * @param resources / + */ + void create(Merchants resources); + + /** + * 编辑 + * @param resources / + */ + void update(Merchants resources); + + /** + * 多选删除 + * @param ids / + */ + void deleteAll(List<Long> ids); + + /** + * 导出数据 + * @param all 待导出的数据 + * @param response / + * @throws IOException / + */ + void download(List<Merchants> all, HttpServletResponse response) throws IOException; +} -- Gitblit v1.9.3