From 09e41d546b030b47661877d4b8141c88584d7598 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期五, 24 九月 2021 16:03:52 +0800 Subject: [PATCH] Merge branch 'test' into 'four_member' --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientServiceCategoryService.java | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientServiceCategoryService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientServiceCategoryService.java new file mode 100644 index 0000000..102fe41 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientServiceCategoryService.java @@ -0,0 +1,65 @@ +package com.panzhihua.service_community.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.panzhihua.common.model.dtos.community.convenient.ConvenientServiceCategoryDTO; +import com.panzhihua.common.model.dtos.community.convenient.PageConvenientServiceCategoryDTO; +import com.panzhihua.common.model.vos.R; +import com.panzhihua.service_community.model.dos.ConvenientServiceCategoryDO; + +/** + * @title: ConvenientServiceCategoryService + * @projectName: 成都呐喊信息技术有限公司-智慧社区项目 + * @description: 便民服务分类服务类 + * @author: hans + * @date: 2021/09/16 10:31 + */ +public interface ConvenientServiceCategoryService extends IService<ConvenientServiceCategoryDO> { + /** + * 便民服务新增分类 + * @param convenientServiceCategoryDTO + * @return 新增结果 + */ + R addServiceCategory(ConvenientServiceCategoryDTO convenientServiceCategoryDTO); + + /** + * 便民服务分类编辑 + * @param convenientServiceCategoryDTO + * @return 修改结果 + */ + R putServiceCategory(ConvenientServiceCategoryDTO convenientServiceCategoryDTO); + + /** + * 便民服务分类删除 + * @param categoryId 便民服务分类id + * @param operator 操作人员 + * @return 删除结果 + */ + R deleteServiceCategoryById(Long categoryId, Long operator); + + /** + * 获取便民服务分类详情 + * @param categoryId 便民服务分类id + * @return 分类详情 + */ + R getServiceCategoryById(Long categoryId); + + /** + * 分页查询便民服务分类 + * @param pageConvenientServiceCategoryDTO + * @return 分类详情 + */ + R pageServiceCategory(PageConvenientServiceCategoryDTO pageConvenientServiceCategoryDTO); + + /** + * 获取所有便民服务分类 + * @return + */ + R getAllServiceCategories(); + + /** + * 获取该社区商家数量大于0的分类 + * @param communityId + * @return + */ + R getSuitableServiceCategories(Long communityId); +} -- Gitblit v1.7.1