package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.dto.ApiOrderBuyDto; import cc.mrbird.febs.mall.dto.ApiOrderListDto; import cc.mrbird.febs.mall.entity.MallProductBuy; import cc.mrbird.febs.mall.vo.ApiOrderBuyInfoVo; import cc.mrbird.febs.mall.vo.ApiOrderBuyVo; import cc.mrbird.febs.mall.vo.ApiOrderListVo; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MallProductBuyMapper extends BaseMapper { MallProductBuy selectMemberIdAndNFTIdAndStateAndMateState(@Param("memberId")Long memberId, @Param("productNFTId")Long productNFTId, @Param("state")Integer state, @Param("mateState")Integer mateState); IPage selectListInPage(IPage page, @Param("record")ApiOrderListDto apiOrderListDto); ApiOrderBuyInfoVo selectBuyById(@Param("id")Long productBuyId); List selectListByStateAndProductNFTId(@Param("state")int value, @Param("nftId")Long nftId, @Param("mateState")int mateState); IPage selectBuyListInPage(IPage page, @Param("record")ApiOrderBuyDto apiOrderBuyDto); Integer selectListByMemberIdAndState(@Param("memberId")Long id); }