业务函电 提单信息接口
parent
45ba4417e2
commit
7c7cf76c1b
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 函电信息更改通知服务
|
||||
/// </summary>
|
||||
public class LetterChangeController : ApiController
|
||||
{
|
||||
private readonly IOpLetterChangeService _invokeService;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="invokeService"></param>
|
||||
public LetterChangeController(IOpLetterChangeService invokeService)
|
||||
{
|
||||
_invokeService = invokeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("GetOpLetterChangeList")]
|
||||
public DataResult<List<OpLetterChangeRes>> GetOpLetterChangeList([FromBody] PageRequest request)
|
||||
{
|
||||
var res = _invokeService.GetListByPage(request);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("EditOpLetterChange")]
|
||||
public DataResult EditOpLetterChange([FromBody] OpLetterChangeReq model)
|
||||
{
|
||||
var res = _invokeService.EditOpLetterChange(model);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
[Route("GetOpLetterChangeInfo")]
|
||||
public DataResult<OpLetterChangeRes> GetOpLetterChangeInfo([FromQuery] string id)
|
||||
{
|
||||
var res = _invokeService.GetOpLetterChangeInfo(id);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 函电信息电放保函服务
|
||||
/// </summary>
|
||||
public class LetterSurController : ApiController
|
||||
{
|
||||
private readonly IOpLetterSurService _invokeService;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="invokeService"></param>
|
||||
public LetterSurController(IOpLetterSurService invokeService)
|
||||
{
|
||||
_invokeService = invokeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("GetOpLetterSurList")]
|
||||
public DataResult<List<OpLetterSurRes>> GetOpLetterSurList([FromBody] PageRequest request)
|
||||
{
|
||||
var res = _invokeService.GetListByPage(request);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("EditOpLetterSur")]
|
||||
public DataResult EditOpLetterSur([FromBody] OpLetterSurReq model)
|
||||
{
|
||||
var res = _invokeService.EditOpLetterSur(model);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
[Route("GetOpLetterSurInfo")]
|
||||
public DataResult<OpLetterSurRes> GetOpLetterSurInfo([FromQuery] string id)
|
||||
{
|
||||
var res = _invokeService.GetOpLetterSurInfo(id);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 函电信息派车通知服务
|
||||
/// </summary>
|
||||
public class LetterTruckController : ApiController
|
||||
{
|
||||
private readonly IOpLetterTruckService _invokeService;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="invokeService"></param>
|
||||
public LetterTruckController(IOpLetterTruckService invokeService)
|
||||
{
|
||||
_invokeService = invokeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("GetOpLetterTruckList")]
|
||||
public DataResult<List<OpLetterTruckRes>> GetOpLetterTruckList([FromBody] PageRequest request)
|
||||
{
|
||||
var res = _invokeService.GetListByPage(request);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("EditOpLetterTruck")]
|
||||
public DataResult EditOpLetterTruck([FromBody] OpLetterTruckReq model)
|
||||
{
|
||||
var res = _invokeService.EditOpLetterTruck(model);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
[Route("GetOpLetterTruckInfo")]
|
||||
public DataResult<OpLetterTruckRes> GetOpLetterTruckInfo([FromQuery] string id)
|
||||
{
|
||||
var res = _invokeService.GetOpLetterTruckInfo(id);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 函电信息入货通知服务
|
||||
/// </summary>
|
||||
public class LetterYardController : ApiController
|
||||
{
|
||||
private readonly IOpLetterYardService _invokeService;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="invokeService"></param>
|
||||
public LetterYardController(IOpLetterYardService invokeService)
|
||||
{
|
||||
_invokeService = invokeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("GetOpLetterYardList")]
|
||||
public DataResult<List<OpLetterYardRes>> GetOpLetterYardList([FromBody] PageRequest request)
|
||||
{
|
||||
var res = _invokeService.GetListByPage(request);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("EditOpLetterYard")]
|
||||
public DataResult EditOpLetterYard([FromBody] OpLetterYardReq model)
|
||||
{
|
||||
var res = _invokeService.EditOpLetterYard(model);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
[Route("GetOpLetterYardInfo")]
|
||||
public DataResult<OpLetterYardRes> GetOpLetterYardInfo([FromQuery] string id)
|
||||
{
|
||||
var res = _invokeService.GetOpLetterYardInfo(id);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 集装箱信息服务
|
||||
/// </summary>
|
||||
public class OpCtnController : ApiController
|
||||
{
|
||||
private readonly IOpCtnService _invokeService;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="invokeService"></param>
|
||||
public OpCtnController(IOpCtnService invokeService)
|
||||
{
|
||||
_invokeService = invokeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("GetOpCtnList")]
|
||||
public DataResult<List<OpCtnRes>> GetOpCtnList([FromBody] PageRequest request)
|
||||
{
|
||||
var res = _invokeService.GetListByPage(request);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Route("EditOpCtn")]
|
||||
public DataResult EditOpCtn([FromBody] OpCtnReq model)
|
||||
{
|
||||
var res = _invokeService.EditOpCtn(model);
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 详情
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
[Route("GetOpCtnInfo")]
|
||||
public DataResult<OpCtnRes> GetOpCtnInfo([FromQuery] string id)
|
||||
{
|
||||
var res = _invokeService.GetOpCtnInfo(id);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
namespace DS.WMS.MainApi.Controllers;
|
||||
|
||||
/// <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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue