111
zhanghonglin
2026-01-05 f797a0e6d079aa25aee23d7aa4064d144d1efa74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IStockService;
using WIDESEA_Model.Models.Stock;
using WIDESEAWCS_ITaskInfoService;
using WIDESEAWCS_Model.Models.TaskInfo;
 
namespace WIDESEA_WMSServer.Controllers.Stock
{
    [Route("api/Stockinfo")]
    [ApiController]
    public class StockController : ApiBaseController<IStockService, Dt_StockInfo>
    {
        public StockController(IStockService service) : base(service)
        {
        }
 
        //查询物料数量
        [HttpPost, HttpGet, Route("MaterielNum"), AllowAnonymous]
        public int MaterielNum(string MaterielName)
        {
            return Service.MaterielNum(MaterielName);
        }
    }
}