2021-01-05 11:11:28 +08:00
|
|
|
|
using NX.ERP.U8.Base;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NX.ERP.WebAPi.Controllers
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PositionController : ApiController
|
|
|
|
|
|
{
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
|
public IEnumerable<Model.Bin> List()
|
|
|
|
|
|
{
|
|
|
|
|
|
var binDAL = new BinDAL();
|
|
|
|
|
|
return binDAL.GetList();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2021-01-13 10:21:56 +08:00
|
|
|
|
[HttpGet]
|
|
|
|
|
|
public IEnumerable<Model.Bin> GetList(string Code)
|
|
|
|
|
|
{
|
|
|
|
|
|
var binDAL = new BinDAL();
|
|
|
|
|
|
return binDAL.GetListByWhCode(Code);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-01-05 11:11:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|