package com.webmanage.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.webmanage.entity.OrderInfo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** * 订单信息Mapper接口 */ @Mapper public interface OrderInfoMapper extends BaseMapper { /** * 分页查询买家订单列表 */ IPage selectBuyerOrderPage(Page page, @Param("userId") Long userId, @Param("unitId") Long unitId, @Param("orderStatus") String orderStatus, @Param("paymentStatus") String paymentStatus, @Param("paymentType") String paymentType, @Param("productName") String productName, @Param("providerName") String providerName, @Param("orderId") String orderId, @Param("applyTimeStart") String applyTimeStart, @Param("applyTimeEnd") String applyTimeEnd, @Param("createTimeStart") String createTimeStart, @Param("createTimeEnd") String createTimeEnd, @Param("orderBy") String orderBy, @Param("orderDirection") String orderDirection); /** * 分页查询卖家订单列表 */ IPage selectSellerOrderPage(Page page, @Param("providerId") Long providerId, @Param("orderStatus") String orderStatus, @Param("paymentStatus") String paymentStatus, @Param("productName") String productName, @Param("orderId") String orderId, @Param("applyTimeStart") String applyTimeStart, @Param("applyTimeEnd") String applyTimeEnd, @Param("createTimeStart") String createTimeStart, @Param("createTimeEnd") String createTimeEnd, @Param("orderBy") String orderBy, @Param("orderDirection") String orderDirection); /** * 分页查询待审批订单列表 */ IPage selectPendingApprovalOrderPage(Page page, @Param("orderStatus") String orderStatus, @Param("productName") String productName, @Param("providerName") String providerName, @Param("orderId") String orderId, @Param("applyTimeStart") String applyTimeStart, @Param("applyTimeEnd") String applyTimeEnd, @Param("orderBy") String orderBy, @Param("orderDirection") String orderDirection); }