using DS.Module.Core;
using DS.WMS.Core.FeeModule.Dtos;
using DS.WMS.Core.FeeModule.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.WebApi.Controllers;
///
/// 仓储费月结账单
///
public class WmsStorageBillController : ApiController
{
private readonly IWmsStorageBillService _invokeService;
///
/// 构造函数
///
///
public WmsStorageBillController(IWmsStorageBillService invokeService)
{
_invokeService = invokeService;
}
///
/// 列表
///
///
///
[HttpPost]
[Route("GetWmsStorageBillList")]
public DataResult> GetWmsStorageBillList([FromBody] PageRequest request)
{
var res = _invokeService.GetListByPage(request);
return res;
}
///
/// 获取信息
///
///
///
[HttpGet]
[Route("GetWmsStorageBillInfo")]
public DataResult GetWmsStorageBillInfo([FromQuery] string id)
{
var res = _invokeService.GetWmsStorageBillInfo(id);
return res;
}
///
///
///
///
///
[HttpGet]
[Route("GetWmsStorageBillDetailList")]
public DataResult GetWmsStorageBillDetailList([FromQuery] string id)
{
var res = _invokeService.GetWmsStorageBillDetailList(id);
return res;
}
}