禁止出入口操作

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