Pu Zhibing
2025-01-24 fd45fcbd496bbeaf9ee18edd8f2f858cf9cebaf3
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
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.web.page.PageInfo;
import com.ruoyi.other.api.domain.Goods;
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, Integer shopId, String longitude, String latitude);
 
    List<Goods> getGoodsListByShopId(PageInfo<Goods> pageInfo, Integer shopId);
 
    void addGoods(Goods goods);
 
    void updateManageGoods(Goods goods);
 
    IPage<Goods> getManageGoodsList(Page<Goods> page, Goods goods);
 
    Goods getManageGoodsDetail(Long goodsId);
 
}