修改基础资料

This commit is contained in:
admin
2021-01-20 16:31:45 +08:00
parent 7045313454
commit 0e95475880
14 changed files with 191 additions and 23 deletions

View File

@@ -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);
}
}
}