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


import com.yh.saas.plugin.yiliangyiyun.entity.WarehouseBaseInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.WarehousePositionStorageInfo;
import com.yh.saas.plugin.yiliangyiyun.service.IWarehousePositionStorageInfoService;
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.RestController;

import java.util.List;

/**
 * <p>
 * 记录仓库仓位储存信息 前端控制器
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-21
 */
@RestController
@RequestMapping("/warehousePositionStorageInfo")
public class WarehousePositionStorageInfoController {

    @Autowired
    private IWarehousePositionStorageInfoService warehousePositionStorageInfoService;
    /**
     * 盘损货名下拉列表
     * @param positionId
     * @return
     */
    @GetMapping("/selectGoodsName")
    public List<WarehousePositionStorageInfo> selectGoodsName(String positionId){
        return warehousePositionStorageInfoService.selectGoodsName(positionId);
    }
}

