package org.jeecg.modules.oroqen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.oroqen.entity.OroqenOrder;

import java.util.List;

/**
 * @Description: 订单
 * @Author: jeecg-boot
 * @Date: 2025-01-08
 * @Version: V1.0
 */
public interface OroqenOrderMapper extends BaseMapper<OroqenOrder> {

    /**
     * 根据用户ID查询订单
     */
    List<OroqenOrder> selectByUserId(@Param("userId") String userId);

    /**
     * 根据订单状态查询订单
     */
    List<OroqenOrder> selectByStatus(@Param("status") Integer status);
}