修改代码

This commit is contained in:
gongxh
2021-04-26 09:16:40 +08:00
parent 706b8508b5
commit d5e2ee0414
14 changed files with 73 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ namespace NX.ERP.WebAPi.Controllers.Store
[Obsolete]
[Route("api/OtherIn/Add")]
[HttpPost]
private string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.AddVocher(storeIn);
@@ -22,7 +22,7 @@ namespace NX.ERP.WebAPi.Controllers.Store
[Route("api/OtherIn/Update")]
[HttpPost]
private bool UpdteVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
public bool UpdteVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.UpdateVocher(storeIn);