package com.tangguo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangguo.domain.BbsPointsGoods;
import org.apache.ibatis.annotations.Param;

/**
 * 积分商品Mapper接口
 *
 * @author ruoyi
 * @date 2025-08-28
 */
public interface BbsPointsGoodsMapper extends BaseMapper<BbsPointsGoods> {

	int decrGoodsStock(@Param("goodsId") long goodsId, @Param("goodsNum") int goodsNum);


	int incrGoodsSales(@Param("goodsId") long goodsId, @Param("goodsNum") int goodsNum);

}
