package com.yh.saas.plugin.yiliangyiyun.controller;


import com.yh.saas.plugin.yiliangyiyun.entity.ShippingInformation;
import com.yh.saas.plugin.yiliangyiyun.service.IShippingInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 送货信息 前端控制器
 * </p>
 *
 * @author Gdc
 * @since 2021-11-27
 */
@RestController
@RequestMapping("/shippingInformation")
public class ShippingInformationController {
    @Autowired
    private IShippingInformationService shippingInformationService;
    /**
     * 车牌号下拉
     */
    @GetMapping("/selectShippingInformation")
    public List<ShippingInformation> selectShippingInformation(@RequestParam String compId, String warehouseName){
        return shippingInformationService.selectShippingInformation(compId,warehouseName);
    }
}

