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 + { + } +}