using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_IStockService;
|
using WIDESEA_Model.Models;
|
using WIDESEA_StockService;
|
|
namespace WIDESEA_WMSServer.Controllers.Stock
|
{
|
[ApiController]
|
[Route("api/[controller]")]
|
[Authorize]
|
public class PlasticContainerLedgerController : ApiBaseController<IPlasticContainerLedgerService,Dt_PlasticContainerLedger>
|
{
|
private readonly IPlasticContainerLedgerService _service;
|
|
public PlasticContainerLedgerController(IPlasticContainerLedgerService service) : base(service)
|
{
|
_service = service;
|
}
|
|
[HttpPost, Route("GlueLineLedgerSummary"), AllowAnonymous]
|
public WebResponseContent GlueLineLedgerSummary(string supplyCode)
|
{
|
return _service.GlueLineLedgerSummary(supplyCode);
|
}
|
}
|
}
|