mitao
2024-04-30 ab4ea7b8f10c9b66aed9c2ea161a08b25c3851a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.sinata.rest.modular.mall.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinata.rest.modular.mall.model.MallGoodsSku;
import java.util.List;
import org.apache.ibatis.annotations.Param;
 
/**
 * <p>
 * 商品规格组合sku表 Mapper 接口
 * </p>
 *
 * @author goku
 * @since 2023-03-14
 */
public interface MallGoodsSkuMapper extends BaseMapper<MallGoodsSku> {
 
    /**
     * 商品修改增加/减少库存
     */
    void updateStock(@Param("skuId") Integer skuId, @Param("goodsNum") Integer goodsNum);
 
    List<MallGoodsSku> queryPlatMinSalePrice(Integer goodsId);
}