From 93d965d8800d69198a3c5008cdad712a88091ee2 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 30 Jun 2023 17:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=8D=E5=8A=A1=E5=92=8C?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dtos/QueryServiceWorkFlowBaseDto.cs | 12 +++ .../Dtos/QueryStatusTriggerBaseDto.cs | 12 +++ .../Dtos/ServiceWorkFlowBaseDto.cs | 15 +++ .../Dtos/ServiceWorkFlowBasePageDto.cs | 12 +++ .../Dtos/StatusTriggerBaseDto.cs | 12 +++ .../Dtos/StatusTriggerBasePageDto.cs | 12 +++ .../Interface/IServiceWorkFlowBaseService.cs | 95 +++++++++++++++++++ .../IServiceWorkFlowManageService.cs | 37 ++++++++ .../Interface/IStatusTriggerBaseService.cs | 73 ++++++++++++++ 9 files changed, 280 insertions(+) create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceWorkFlowBaseDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusTriggerBaseDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBaseDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBasePageDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBaseDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBasePageDto.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowBaseService.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs create mode 100644 Myshipping.Application/Service/TrackingSystem/Interface/IStatusTriggerBaseService.cs diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceWorkFlowBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceWorkFlowBaseDto.cs new file mode 100644 index 00000000..c8e945e9 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceWorkFlowBaseDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + internal class QueryServiceWorkFlowBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusTriggerBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusTriggerBaseDto.cs new file mode 100644 index 00000000..43aa04e1 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusTriggerBaseDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + internal class QueryStatusTriggerBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBaseDto.cs new file mode 100644 index 00000000..2b789bc2 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBaseDto.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + /// + /// 服务流程 + /// + internal class ServiceWorkFlowBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBasePageDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBasePageDto.cs new file mode 100644 index 00000000..35af3ef4 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceWorkFlowBasePageDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + internal class ServiceWorkFlowBasePageDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBaseDto.cs new file mode 100644 index 00000000..b761e546 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBaseDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + internal class StatusTriggerBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBasePageDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBasePageDto.cs new file mode 100644 index 00000000..20285402 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusTriggerBasePageDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + internal class StatusTriggerBasePageDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowBaseService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowBaseService.cs new file mode 100644 index 00000000..181913b1 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowBaseService.cs @@ -0,0 +1,95 @@ +using Myshipping.Core; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + /// + /// 服务流程 + /// + internal interface IServiceWorkFlowBaseService + { + /// + /// 保存 + /// + /// 服务流程详情 + /// 返回回执 + Task Save(ServiceWorkFlowBaseDto info); + + /// + /// 保存并启用 + /// + /// 服务流程详情 + /// 返回回执 + Task SaveAndEnable(ServiceWorkFlowBaseDto info); + + /// + /// 启用 + /// + /// 服务流程主键 + /// 返回回执 + Task SetEnable(string pkId); + + /// + /// 取消启用 + /// + /// 服务流程主键 + /// 返回回执 + Task SetUnEnable(string pkId); + + /// + /// 删除 + /// + /// 服务流程主键 + /// 返回回执 + Task Delete(string pkId); + + /// + /// 复制 + /// + /// 服务流程主键 + /// 返回回执 + Task Copy(string pkId); + + /// + /// 获取服务流程详情 + /// + /// 服务流程主键 + /// 返回回执 + Task GetInfo(string pkId); + + /// + /// 检索服务流程列表 + /// + /// 检索值 + /// 最大返回行数(默认15) + /// 返回回执 + Task QueryList(string queryItem, int topNum = 15); + + /// + /// 服务流程台账查询 + /// + /// 服务流程台账查询请求 + /// 返回结果 + Task> GetPageAsync(QueryServiceWorkFlowBaseDto QuerySearch); + + + /// + /// 发布服务流程 + /// + /// 服务流程主键 + /// 返回回执 + Task PublishRelease(string pkId); + + + /// + /// 获取展示服务流程时间轴列表 + /// + /// 服务流程主键 + /// 返回回执 + Task GetShowTimeLine(string pkId); + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs new file mode 100644 index 00000000..8b3f8799 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + /// + /// 服务流程管理 + /// + internal interface IServiceWorkFlowManageService + { + /// + /// 推送状态 + /// + /// 服务流程详情 + /// 返回回执 + Task PushStatus(ServiceWorkFlowBaseDto info); + + + /// + /// 查询单票业务单服务项目查询 + /// + /// 服务流程详情 + /// 返回回执 + Task QuerySingleBusinessPerServiceProject(ServiceWorkFlowBaseDto info); + + + /// + /// 查询单票所有相关服务项目查询 + /// + /// 服务流程详情 + /// 返回回执 + Task QuerySingleBusinessAll(ServiceWorkFlowBaseDto info); + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IStatusTriggerBaseService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IStatusTriggerBaseService.cs new file mode 100644 index 00000000..236da161 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IStatusTriggerBaseService.cs @@ -0,0 +1,73 @@ +using Myshipping.Core; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + /// + /// 状态触发器 + /// + internal interface IStatusTriggerBaseService + { + /// + /// 保存 + /// + /// 状态触发器详情 + /// 返回回执 + Task Save(StatusTriggerBaseDto info); + + /// + /// 保存并启用 + /// + /// 状态触发器详情 + /// 返回回执 + Task SaveAndEnable(StatusTriggerBaseDto info); + + /// + /// 启用 + /// + /// 状态触发器主键 + /// 返回回执 + Task SetEnable(string pkId); + + /// + /// 取消启用 + /// + /// 状态触发器主键 + /// 返回回执 + Task SetUnEnable(string pkId); + + /// + /// 删除 + /// + /// 状态触发器主键 + /// 返回回执 + Task Delete(string pkId); + + /// + /// 获取状态触发器详情 + /// + /// 状态触发器主键 + /// 返回回执 + Task GetInfo(string pkId); + + /// + /// 检索状态触发器列表 + /// + /// 检索值 + /// 最大返回行数(默认15) + /// 返回回执 + Task QueryList(string queryItem, int topNum = 15); + + /// + /// 状态触发器台账查询 + /// + /// 状态触发器台账查询请求 + /// 返回结果 + Task> GetPageAsync(QueryStatusTriggerBaseDto QuerySearch); + + } +}