| | |
| | | package com.ruoyi.auction.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.auction.controller.management.dto.AuctionGoodsDTO; |
| | | import com.ruoyi.auction.controller.management.dto.AuctionGoodsQuery; |
| | | import com.ruoyi.auction.controller.management.vo.AuctionGoodsVO; |
| | | import com.ruoyi.auction.domain.pojo.AuctionGoods; |
| | | import com.ruoyi.auction.domain.AuctionGoods; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | |
| | | /** |
| | |
| | | * @since 2024-05-16 |
| | | */ |
| | | public interface IAuctionGoodsService extends IService<AuctionGoods> { |
| | | |
| | | /** |
| | | * 获取拍卖商品列表的分页数据 |
| | | * |
| | | * @param query 拍卖商品查询对象 |
| | | * @return PageDTO<AuctionGoodsVO> |
| | | */ |
| | | PageDTO<AuctionGoodsVO> getAuctionGoodsPage(AuctionGoodsQuery query); |
| | | |
| | | /** |
| | | * 添加/编辑 拍卖商品 |
| | | * |
| | | * @param dto 拍卖商品数据传输对象 |
| | | */ |
| | | void saveAuctionGoods(AuctionGoodsDTO dto); |
| | | |
| | | /** |
| | | * 查看拍卖商品详情 |
| | | * |
| | | * @param id 拍卖商品id |
| | | * @return AuctionGoodsVO |
| | | */ |
| | | AuctionGoodsVO getAuctionGoodsById(Long id); |
| | | |
| | | void stopAuctionGoods(Long id); |
| | | } |