xuhy
2024-10-30 660f4451c140a9da1f4bb92721a403b128dbdaf7
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
package com.ruoyi.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.domain.TGoods;
import com.ruoyi.system.query.TGoodsQuery;
import com.ruoyi.system.vo.TGoodsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 商品管理 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-14
 */
@Mapper
public interface TGoodsMapper extends BaseMapper<TGoods> {
 
    /**
     * 查询商品管理分页列表
     * @param query
     * @param pageInfo
     * @return
     */
    List<TGoodsVO> pageList(@Param("query") TGoodsQuery query, @Param("pageInfo") PageInfo<TGoodsVO> pageInfo);
 
    /**
     * 根据商家id删除商品管理
     * @param shopId
     */
    void deleteByShopId(@Param("shopId")Long shopId);
}