肖洋
2025-01-15 ef7ff6f2da6051b0a0db3babd61a29ed69e3e228
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using WIDESEA_IStorageBasicService;
 
namespace WIDESEA_WMSServer.Controllers;
 
[Route("api/StockInfo")]
[ApiController]
public class StockInfoController : ApiBaseController<IStockInfoService, DtStockInfo>
{
    public StockInfoController(IStockInfoService service) : base(service)
    {
    }
 
    [HttpGet, AllowAnonymous, Route("GetLocationByStockType")]
    public Task<Dictionary<string, int>> GetLocationByStockType(bool stockType, string areaCode)
    {
        return Service.GetLocationByStockType(stockType, areaCode);
    }
}