huliguo
2025-04-23 f2070facdb5715e7349df69cfe257289c680d292
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.ruoyi.other.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.other.api.domain.Goods;
import com.ruoyi.other.dto.AddGoodsDTO;
import com.ruoyi.other.vo.GoodsVO;
 
import java.util.List;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author luodangjia
 * @since 2024-11-20
 */
public interface GoodsService extends IService<Goods> {
 
    PageInfo<GoodsVO> goodsList(Goods goods);
 
    GoodsVO goodsDetail(Long goodsId);
 
    List<GoodsVO> getGoodsListByShopId(PageInfo<GoodsVO> pageInfo, Integer shopId);
 
    void addGoods(Goods goods);
 
    void updateManageGoods(Goods goods);
 
    R<PageInfo<Goods>> getManageGoodsList(Integer pageNum, Integer pageSize, Goods goods);
 
    Goods getManageGoodsDetail(Long goodsId);
 
}