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") String userId, @Param("unitId") String 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") String 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); /** * 分页查询买家订单列表(支持产品条件) */ IPage selectBuyerOrderPageWithProductConditions(Page page, @Param("userId") String userId, @Param("unitId") String 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, @Param("productIds") java.util.List productIds); /** * 分页查询卖家订单列表(支持产品条件) */ IPage selectSellerOrderPageWithProductConditions(Page page, @Param("providerId") String 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, @Param("productIds") java.util.List productIds); }