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.

125 lines
3.0 KiB
C#

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;
/// <summary>
/// 集装箱信息服务
/// </summary>
public class SeaExportTestController : ApiController
{
private readonly ISeaExportTestService _invokeService;
/// <summary>
/// 构造函数
/// </summary>
/// <param name="invokeService"></param>
public SeaExportTestController(ISeaExportTestService invokeService)
{
_invokeService = invokeService;
}
/// <summary>
/// 导出主表
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExport")]
public async Task SeaExportExport()
{
await _invokeService.SeaExportExport();
}
/// <summary>
/// 海运出口品名信息导出
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportCtnGoods")]
public async Task SeaExportExportCtnGoods()
{
await _invokeService.SeaExportExportCtnGoods();
}
/// <summary>
/// 海运出口订单货物信息导出
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportMainGood")]
public async Task SeaExportExportMainGood()
{
await _invokeService.SeaExportExportMainGood();
}
/// <summary>
/// 海运出口订单集装箱信息导出
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportMainCtn")]
public async Task SeaExportExportMainCtn()
{
await _invokeService.SeaExportExportMainCtn();
}
/// <summary>
/// 海运出口订单订舱信息导出
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportMainBook")]
public async Task SeaExportExportMainBook()
{
await _invokeService.SeaExportExportMainBook();
}
/// <summary>
/// 海运出口订单费用信息导出
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportMainFee")]
public async Task SeaExportExportMainFee()
{
await _invokeService.SeaExportExportMainFee();
}
/// <summary>
/// 导出 -分单
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportPart")]
public async Task SeaExportExportPart()
{
await _invokeService.SeaExportExportPart();
}
/// <summary>
/// 海运出口订单集装箱信息导出-分单
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportPartCtn")]
public async Task SeaExportExportPartCtn()
{
await _invokeService.SeaExportExportPartCtn();
}
/// <summary>
/// 海运出口订单费用信息导出-分单
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("SeaExportExportPartFee")]
public async Task SeaExportExportPartFee()
{
await _invokeService.SeaExportExportPartFee();
}
}