修改代码

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/OtherOut/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.OtherStoreOutDAL();
return dal.AddVocher(storeIn);
@@ -21,7 +21,7 @@ namespace NX.ERP.WebAPi.Controllers.Store
[Route("api/OtherOut/Update")]
[HttpPost]
private bool UpdateVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
public bool UpdateVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreOutDAL();
return dal.UpdateVocher(storeIn);