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);
|
}
|