using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
using DS.WMS.Core.Code.Interface;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.OpApi.Controllers;
///
/// 集装箱报价-服务
///
public class BusinessCtnPriceController : ApiController
{
private readonly IBusinessCtnPriceService _invokeService;
///
/// 构造函数
///
///
public BusinessCtnPriceController(IBusinessCtnPriceService invokeService)
{
_invokeService = invokeService;
}
///
/// 列表
///
///
///
[HttpPost]
[Route("GetBusinessCtnPriceList")]
public async Task>> GetBusinessCtnPriceList([FromBody] PageRequest request)
{
var res = await _invokeService.GetListByPage(request);
return res;
}
///
/// 批量删除
///
///
///
[HttpPost]
[Route("BatchDelBusinessCtnPrice")]
public async Task BatchDelBusinessCtnPrice([FromBody] IdModel req)
{
var res = await _invokeService.BatchDelBusinessCtnPrice(req);
return res;
}
}