package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.wrapper.SysGoodsPriceWrapper;
import com.yonge.cooleshow.biz.dal.entity.SysGoodsPrice;

/**
 * 商品价格设置
 * 2023-07-21 17:32:49
 */
public interface SysGoodsPriceService extends IService<SysGoodsPrice>  {

	/**
     * 查询详情
     * @param id 详情ID
     * @return SysGoodsPrice
     */
	SysGoodsPrice detail(Long id);

    /**
     * 分页查询
     * @param page IPage<SysGoodsPrice>
     * @param query SysGoodsPriceWrapper.SysGoodsPriceQuery
     * @return IPage<SysGoodsPrice>
     */
    IPage<SysGoodsPrice> selectPage(IPage<SysGoodsPrice> page, SysGoodsPriceWrapper.SysGoodsPriceQuery query);
	
    /**
     * 添加
     * @param sysGoodsPrice SysGoodsPriceWrapper.SysGoodsPrice
     * @return Boolean
     */
     Boolean add(SysGoodsPriceWrapper.SysGoodsPrice sysGoodsPrice);   

    /**
     * 更新
     * @param sysGoodsPrice SysGoodsPriceWrapper.SysGoodsPrice
     * @return Boolean
     */
     Boolean update(SysGoodsPriceWrapper.SysGoodsPrice sysGoodsPrice);
     
}