package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.common.enumerates.ProductEnum; import cc.mrbird.febs.mall.entity.MallProductBuy; import cc.mrbird.febs.mall.entity.MallProductBuyRecord; import cc.mrbird.febs.mall.entity.MallProductNft; import cc.mrbird.febs.mall.entity.MallProductSell; import cc.mrbird.febs.mall.vo.*; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MallProductNftMapper extends BaseMapper { IPage getProductNFTList(Page page, @Param("record")MallProductNft mallProductNft); List selectByState(@Param("state")int value); IPage getBuyList(Page page, @Param("record")MallProductBuy mallProductBuy); IPage getSellList(Page page, @Param("record")MallProductSell mallProductSell); List selectProductSellByState(@Param("state")int value); List selectListByState(@Param("state")ProductEnum productNftOpen); IPage getBuyRecordList(Page page, @Param("record")MallProductBuy mallProductBuy); }