package com.kxs.product.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kxs.product.api.model.KxsShopGoodsSku;
import com.kxs.product.api.vo.kxsapp.shop.ShopGoodsSkuVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商城商品SKU表(KxsShopGoodsSku)表数据库访问层
 *
 * @author 系统
 * @since 2023-12-20 10:09:36
 */
@Mapper
public interface KxsShopGoodsSkuMapper extends BaseMapper<KxsShopGoodsSku> {

    /**
     * 按商品id 查询sku列表
     *
     * @param goodsId 商品id
     * @return {@link List}<{@link ShopGoodsSkuVO}>
     */
    List<ShopGoodsSkuVO> getByGoodsSkuList(Integer goodsId);
}

