package com.uas.eis.controller;

import com.uas.eis.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * Created by luhg on 2018/4/19.
 * 出入库相关
 */
@RestController
public class StockController {

    @Autowired
    private StockService stockService;

    @PostMapping(value = "/yunding/stock")
    public Map<String,Object> postStockToYunding(@RequestParam Integer id){
        return stockService.postStockToYunding(id);
    }



}
