修改更新接口
This commit is contained in:
@@ -16,17 +16,17 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
public class CustomerController : ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取客户信息
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="Pubufts"></param>
|
||||
/// <returns></returns>
|
||||
// GET api/values
|
||||
[Obsolete]
|
||||
|
||||
[Route("api/Customer/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Customer> List()
|
||||
public IEnumerable<Model.Customer> List(long Pubufts = 0)
|
||||
{
|
||||
var customerDAL = new CustomerDAL();
|
||||
return customerDAL.GetList();
|
||||
return customerDAL.GetList(Pubufts);
|
||||
}
|
||||
/// <summary>
|
||||
/// 查询
|
||||
@@ -35,7 +35,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
/// <returns></returns>
|
||||
[Route("api/Customer/Query")]
|
||||
[HttpPost]
|
||||
|
||||
|
||||
public IEnumerable<Model.Customer> Query(NX.ERP.Model.Request.Customer Param)
|
||||
{
|
||||
var customerDAL = new CustomerDAL();
|
||||
|
||||
Reference in New Issue
Block a user