From 464e71eb0ac17dec020546847367ff35a88f6515 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Wed, 14 Aug 2024 15:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E7=94=A9=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Core/DS.WMS.Core.csproj | 1 - .../Nomination/RollingNominationNoticeDto.cs | 44 +++++++++++++++ .../ITaskManageRollingNominationService.cs | 54 +++++++++++++++++++ .../TaskManageRollingNominationService.cs | 12 +++++ 4 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 ds-wms-service/DS.WMS.Core/TaskPlat/Dtos/Nomination/RollingNominationNoticeDto.cs create mode 100644 ds-wms-service/DS.WMS.Core/TaskPlat/Interface/RollingNomination/ITaskManageRollingNominationService.cs create mode 100644 ds-wms-service/DS.WMS.Core/TaskPlat/Method/RollingNomination/TaskManageRollingNominationService.cs diff --git a/ds-wms-service/DS.WMS.Core/DS.WMS.Core.csproj b/ds-wms-service/DS.WMS.Core/DS.WMS.Core.csproj index 61f2521f..876794d0 100644 --- a/ds-wms-service/DS.WMS.Core/DS.WMS.Core.csproj +++ b/ds-wms-service/DS.WMS.Core/DS.WMS.Core.csproj @@ -39,7 +39,6 @@ - diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Dtos/Nomination/RollingNominationNoticeDto.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Dtos/Nomination/RollingNominationNoticeDto.cs new file mode 100644 index 00000000..8d769bcc --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Dtos/Nomination/RollingNominationNoticeDto.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.WMS.Core.TaskPlat.Dtos +{ + /// + /// 预甩通知 + /// + public class RollingNominationNoticeDto + { + /// + /// 预甩任务ID + /// + public long taskId { get; set; } + + /// + /// 模板ID + /// + public long templateId { get; set; } + + /// + /// 是否允许没有订单发送通知 + /// + public bool isAllowNoBooking { get; set; } = false; + + /// + /// 手工发送预甩邮件接收人 + /// + public string manualNoticeEmail { get; set; } + + /// + /// 原船主键 + /// + public string fromShipPKId { get; set; } + + /// + /// 换船主键 + /// + public string toShipPKId { get; set; } + } +} diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/RollingNomination/ITaskManageRollingNominationService.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/RollingNomination/ITaskManageRollingNominationService.cs new file mode 100644 index 00000000..196878bc --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/RollingNomination/ITaskManageRollingNominationService.cs @@ -0,0 +1,54 @@ +using DS.Module.Core; +using DS.Module.DjyServiceStatus; +using DS.WMS.Core.Op.Dtos; +using DS.WMS.Core.TaskPlat.Dtos; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.WMS.Core.TaskPlat.Interface +{ + /// + /// 预甩 + /// + public interface ITaskManageRollingNominationService + { + /// + /// 通过任务主键获取货物运输计划已变更详情 + /// + /// 货物运输计划已变更任务主键 + /// 返回回执 + Task> GetInfoByTaskId(long taskPKId); + + /// + /// 检索对应的订舱订单并保存订舱ID + /// + /// 货物运输计划已变更任务主键 + /// 返回回执 + Task> SearchAndMarkBookingOrder(long taskPKId); + + /// + /// 发送预甩的通知 + /// + /// 请求详情 + /// 返回回执 + Task SendRollingNominationNotice(RollingNominationNoticeDto model); + + + /// + /// 获取预甩的通知预览 + /// + /// 请求详情 + /// 返回回执 + Task GetRollingNominationNoticeReview(RollingNominationNoticeDto model); + + /// + /// 获取换船选择列表 + /// + /// 任务ID + /// + Task GetToShipSelect(string taskPkId); + } +} diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Method/RollingNomination/TaskManageRollingNominationService.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/RollingNomination/TaskManageRollingNominationService.cs new file mode 100644 index 00000000..a40ad56a --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/RollingNomination/TaskManageRollingNominationService.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.WMS.Core.TaskPlat.Method +{ + public class TaskManageRollingNominationService + { + } +}