禁止出入口操作

This commit is contained in:
gongxh
2021-04-19 11:14:47 +08:00
parent 98bb376700
commit 706b8508b5
9 changed files with 17 additions and 17 deletions

View File

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