package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.dto.ApiOrderRecordListDto; import cc.mrbird.febs.mall.entity.MallProductBuyRecord; import cc.mrbird.febs.mall.vo.ApiOrderBuyRecordInfoVo; import cc.mrbird.febs.mall.vo.ApiOrderListVo; import cc.mrbird.febs.mall.vo.ApiOrderRecordListVo; 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 MallProductBuyRecordMapper extends BaseMapper { List selectByBuyId(@Param("productBuyId")Long productBuyId); List selectListByBuyId(@Param("buyId")Long buyId,@Param("state")Integer state); List selectRecordListByBuyId(@Param("buyId")Long buyId); List selectByState(@Param("state")int value); IPage selectListInPage(IPage pageBuy, @Param("record")ApiOrderRecordListDto apiOrderListDto); ApiOrderBuyRecordInfoVo selectByBuyRecordId(@Param("id")Long productBuyRecordId); }