| | |
| | | package com.ruoyi.goods.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.goods.controller.management.DTO.GoodsGroupPurchaseDTO; |
| | | import com.ruoyi.goods.controller.management.DTO.GoodsGroupPurchaseQuery; |
| | | import com.ruoyi.goods.controller.management.VO.GoodsGroupPurchaseVO; |
| | | import com.ruoyi.goods.domain.GoodsGroupPurchase; |
| | | import com.ruoyi.system.api.domain.dto.ListStatusDTO; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface IGoodsGroupPurchaseService extends IService<GoodsGroupPurchase> { |
| | | |
| | | /** |
| | | * 获取团购商品列表的分页数据 |
| | | * |
| | | * @param query 团购商品查询对象 |
| | | * @return PageDTO < GoodsGroupPurchaseVO> |
| | | */ |
| | | PageDTO<GoodsGroupPurchaseVO> getGoodsGroupPurchasePage(GoodsGroupPurchaseQuery query); |
| | | |
| | | /** |
| | | * 添加/编辑 团购商品 |
| | | * |
| | | * @param dto 团购商品数据传输对象 |
| | | */ |
| | | void saveGoodsGroupPurchase(GoodsGroupPurchaseDTO dto); |
| | | |
| | | /** |
| | | * 查看详情 |
| | | * |
| | | * @param id 团购商品id |
| | | * @return GoodsGroupPurchaseVO 团购商品视图对象 |
| | | */ |
| | | GoodsGroupPurchaseVO getGoodsGroupPurchaseDetail(Long id); |
| | | |
| | | /** |
| | | * 下架/上架 团购商品 |
| | | * |
| | | * @param dto 商品上下架状态对象 |
| | | */ |
| | | void updStatus(ListStatusDTO dto); |
| | | } |