package com.zhongzheng.modules.order.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongzheng.modules.order.bo.OrderGoodsQueryBo;
import com.zhongzheng.modules.order.bo.OrderQueryBo;
import com.zhongzheng.modules.order.domain.Order;
import com.zhongzheng.modules.order.vo.OrderGoodsVo;
import com.zhongzheng.modules.order.vo.OrderListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单Mapper接口
 *
 * @author ruoyi
 * @date 2021-11-08
 */
public interface OrderMapper extends BaseMapper<Order> {
    List<OrderListVo> selectList(OrderQueryBo bo);

    Integer selectUserClass(@Param("goodsId") Long goodsId,@Param("userId") Long userId);

    List<OrderListVo> selectListApp(OrderQueryBo bo);
}
