This commit is contained in:
gongxh
2021-03-15 13:13:36 +08:00
3 changed files with 67 additions and 28 deletions

View File

@@ -17,5 +17,15 @@ namespace NX.ERP.WebAPi.Controllers.Store
var dal = new NX.ERP.U8.Store.SaleOutDAL();
return new { Id = dal.AddVoucher(storeIn) };
}
[Route("api/SaleStoreOut/Update")]
[HttpPost]
public bool UpdateVoucher([FromBody] Model.Request.SaleStoreOut storeIn)
{
var dal = new NX.ERP.U8.Store.SaleOutDAL();
// return new { Id = dal.UpdateVoucher(storeIn) };
return dal.UpdateVoucher(storeIn);
}
}
}