2021-12-06 16:24:25 +08:00
|
|
|
|
using NX.ERP.Model.Store;
|
|
|
|
|
|
using System;
|
2021-01-13 13:08:17 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NX.ERP.WebAPi.Controllers.Store
|
|
|
|
|
|
{
|
2021-05-21 13:06:45 +08:00
|
|
|
|
|
2021-01-13 13:08:17 +08:00
|
|
|
|
public class OtherStoreOutController : ApiController
|
|
|
|
|
|
{
|
2021-01-21 16:00:58 +08:00
|
|
|
|
[Obsolete]
|
2021-01-15 10:22:35 +08:00
|
|
|
|
[Route("api/OtherOut/Add")]
|
2021-01-13 13:08:17 +08:00
|
|
|
|
[HttpPost]
|
2021-04-26 09:16:40 +08:00
|
|
|
|
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
|
2021-01-13 13:08:17 +08:00
|
|
|
|
{
|
|
|
|
|
|
var dal = new NX.ERP.U8.Store.OtherStoreOutDAL();
|
|
|
|
|
|
return dal.AddVocher(storeIn);
|
|
|
|
|
|
}
|
2021-03-15 11:50:27 +08:00
|
|
|
|
|
2021-05-21 13:06:45 +08:00
|
|
|
|
[Obsolete]
|
2021-03-15 11:50:27 +08:00
|
|
|
|
[Route("api/OtherOut/Update")]
|
|
|
|
|
|
[HttpPost]
|
2021-04-26 09:16:40 +08:00
|
|
|
|
public bool UpdateVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)
|
2021-03-15 11:50:27 +08:00
|
|
|
|
{
|
|
|
|
|
|
var dal = new NX.ERP.U8.Store.OtherStoreOutDAL();
|
|
|
|
|
|
return dal.UpdateVocher(storeIn);
|
|
|
|
|
|
}
|
2021-12-06 16:24:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-01-13 13:08:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|