package com.panzhihua.service_community.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.panzhihua.common.model.dtos.community.microCommercialStreet.DeleteProductDTO;
|
import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsProductDTO;
|
import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsProductDTO;
|
import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForProductDTO;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.service_community.entity.McsProduct;
|
|
/**
|
* (McsProduct)表服务接口
|
*
|
* @author makejava
|
* @since 2021-12-28 14:37:12
|
*/
|
public interface McsProductService extends IService<McsProduct> {
|
|
/**
|
* 新增产品信息
|
* @param mcsProductDTO
|
* @return
|
*/
|
R addMcsProduct(McsProductDTO mcsProductDTO);
|
|
/**
|
* 编辑产品信息
|
* @param mcsProductDTO
|
* @return
|
*/
|
R putMcsProduct(McsProductDTO mcsProductDTO);
|
|
/**
|
* 删除产品信息
|
* @param deleteProductDTO
|
* @return
|
*/
|
R deleteMcsProduct(DeleteProductDTO deleteProductDTO);
|
|
/**
|
* 上架/下架产品信息
|
* @param setShelfForProductDTO
|
* @return
|
*/
|
R setShelfForMcsProduct(SetShelfForProductDTO setShelfForProductDTO);
|
|
/**
|
* 分页查询产品信息
|
* @param pageMcsProductDTO
|
* @return
|
*/
|
R pageMcsProduct(PageMcsProductDTO pageMcsProductDTO);
|
|
/**
|
* 获取产品信息详情
|
* @param productId
|
* @return
|
*/
|
R getMcsProduct(Long productId);
|
}
|