You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.6 KiB
C#
63 lines
1.6 KiB
C#
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;
|
|
|
|
/// <summary>
|
|
/// 仓储费月结账单
|
|
/// </summary>
|
|
public class WmsStorageBillController : ApiController
|
|
{
|
|
private readonly IWmsStorageBillService _invokeService;
|
|
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="invokeService"></param>
|
|
public WmsStorageBillController(IWmsStorageBillService invokeService)
|
|
{
|
|
_invokeService = invokeService;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("GetWmsStorageBillList")]
|
|
public DataResult<List<WmsStorageBillListPageModel>> GetWmsStorageBillList([FromBody] PageRequest request)
|
|
{
|
|
var res = _invokeService.GetListByPage(request);
|
|
return res;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
[Route("GetWmsStorageBillInfo")]
|
|
public DataResult<WmsStorageBillInfoViewModel> GetWmsStorageBillInfo([FromQuery] string id)
|
|
{
|
|
var res = _invokeService.GetWmsStorageBillInfo(id);
|
|
return res;
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
[Route("GetWmsStorageBillDetailList")]
|
|
public DataResult GetWmsStorageBillDetailList([FromQuery] string id)
|
|
{
|
|
var res = _invokeService.GetWmsStorageBillDetailList(id);
|
|
return res;
|
|
}
|
|
} |