package com.njzscloud.supervisory.route.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njzscloud.supervisory.route.pojo.OrderRouteEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 路线管理
 */
@Mapper
public interface OrderRouteMapper extends BaseMapper<OrderRouteEntity> {

    IPage<OrderRouteEntity> paging(Page<Object> page, @Param("ew") QueryWrapper<OrderRouteEntity> ew);

    OrderRouteEntity selectDetailById(@Param("id") Long id);

    OrderRouteEntity getByOrderId(@Param("orderId") Long orderId);

}

