package com.panzhihua.service_community.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.panzhihua.common.model.dtos.community.convenient.ConvenientProductCategoryDTO;
|
import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductCategoryDTO;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.service_community.model.dos.ConvenientProductCategoryDO;
|
|
/**
|
* @title: ConvenientProductCategoryService
|
* @projectName: 成都呐喊信息技术有限公司-智慧社区项目
|
* @description: 便民服务产品服务类
|
* @author: hans
|
* @date: 2021/09/20 15:36
|
*/
|
public interface ConvenientProductCategoryService extends IService<ConvenientProductCategoryDO> {
|
|
/**
|
* 新增便民服务产品分类信息
|
* @param convenientProductCategoryDTO
|
* @return
|
*/
|
R addProductCategory(ConvenientProductCategoryDTO convenientProductCategoryDTO);
|
|
/**
|
* 编辑便民服务产品分类信息
|
* @param convenientProductCategoryDTO
|
* @return
|
*/
|
R putProductCategory(ConvenientProductCategoryDTO convenientProductCategoryDTO);
|
|
/**
|
* 删除便民服务产品分类信息
|
* @param categoryId
|
* @param operator
|
* @return
|
*/
|
R deleteProductCategory(Long categoryId, Long operator);
|
|
/**
|
* 获取便民服务产品分类详情
|
* @param categoryId
|
* @return
|
*/
|
R getProductCategory(Long categoryId);
|
|
/**
|
* 分页查询便民服务产品分类信息
|
* @param pageConvenientProductCategoryDTO
|
* @return
|
*/
|
R pageProductCategory(PageConvenientProductCategoryDTO pageConvenientProductCategoryDTO);
|
|
/**
|
* 获取所有产品分类
|
* @return
|
* @param merchantId
|
*/
|
R getAllProductCategory(Long merchantId);
|
}
|