
package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ShopSku;

/**
 * 门店对应商品价格和库存管理
 */
public interface ShopSkuService extends IService<ShopSku> {

    void insertSku(ShopSku shopSku);

    /**
     * 分页查询
     * @param current 当前页
     * @param size 每页数量
     * @param shopSku 查询参数
     * @return 分页数据
     */
    IPage<ShopSku> shopSkuPage(Integer current, Integer size, ShopSku shopSku);
}
