This commit is contained in:
杰 朱
2021-03-15 11:50:51 +08:00
2 changed files with 62 additions and 4 deletions

View File

@@ -6,8 +6,8 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class OtherStoreInController:ApiController
public class OtherStoreInController : ApiController
{
[Obsolete]
[Route("api/OtherIn/Add")]
@@ -17,5 +17,15 @@ namespace NX.ERP.WebAPi.Controllers.Store
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.AddVocher(storeIn);
}
[Route("api/OtherIn/Update")]
[HttpPost]
public bool UpdteVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
return dal.UpdateVocher(storeIn);
}
}
}