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.
67 lines
1.7 KiB
C#
67 lines
1.7 KiB
C#
8 months ago
|
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.Sea.Dtos;
|
||
|
using DS.WMS.Core.Sea.Interface;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
||
8 months ago
|
namespace DS.WMS.OpApi.Controllers;
|
||
8 months ago
|
|
||
|
/// <summary>
|
||
|
/// 海运出口提单信息服务
|
||
|
/// </summary>
|
||
|
public class SeaExportBillManageController : ApiController
|
||
|
{
|
||
|
private readonly ISeaExportBillManageService _invokeService;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 构造函数
|
||
|
/// </summary>
|
||
|
/// <param name="invokeService"></param>
|
||
|
public SeaExportBillManageController(ISeaExportBillManageService invokeService)
|
||
|
{
|
||
|
_invokeService = invokeService;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 列表
|
||
|
/// </summary>
|
||
|
/// <param name="request"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost]
|
||
|
[Route("GetSeaExportBillManageList")]
|
||
|
public DataResult<List<SeaExportBillManageRes>> GetSeaExportBillManageList([FromBody] PageRequest request)
|
||
|
{
|
||
|
var res = _invokeService.GetListByPage(request);
|
||
|
return res;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 编辑
|
||
|
/// </summary>
|
||
|
/// <param name="model"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost]
|
||
|
[Route("EditSeaExportBillManage")]
|
||
|
public DataResult EditSeaExportBillManage([FromBody] SeaExportBillManageReq model)
|
||
|
{
|
||
|
var res = _invokeService.EditSeaExportBillManage(model);
|
||
|
return res;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 详情
|
||
|
/// </summary>
|
||
|
/// <param name="id"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpGet]
|
||
|
[Route("GetSeaExportBillManageInfo")]
|
||
|
public DataResult<SeaExportBillManageRes> GetSeaExportBillManageInfo([FromQuery] string id)
|
||
|
{
|
||
|
var res = _invokeService.GetSeaExportBillManageInfo(id);
|
||
|
return res;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|