package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.DeviceOrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 设备商城，订单记录表 Mapper 接口
 * </p>
 *
 * @author Djh
 * @since 2020-11-13
 */
public interface DeviceOrderInfoMapper extends BaseMapper<DeviceOrderInfo> {

    @Select("SELECT * FROM tb_pluss_device_order_info WHERE orderNo = #{orderNo} limit 1 ")
    DeviceOrderInfo getDeviceInfoByOrderNo(String orderNo);
}
