修改基础资料
This commit is contained in:
@@ -10,6 +10,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class SupplierController : ApiController
|
||||
{
|
||||
[Route("api/Supplier/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Supplier> List()
|
||||
{
|
||||
@@ -17,5 +18,16 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
return supplierDAL.GetList();
|
||||
|
||||
}
|
||||
|
||||
[Route("api/Supplier/Query")]
|
||||
[HttpPost]
|
||||
public IEnumerable<Model.Supplier> Query(NX.ERP.Model.Request.Supplier Param)
|
||||
{
|
||||
var customerDAL = new SupplierDAL();
|
||||
return customerDAL.GetList(Param);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user