diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceProjectBaseInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceProjectBaseInfo.cs index f356e37e..48563617 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceProjectBaseInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceProjectBaseInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceProjectBaseInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowActivitiesInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowActivitiesInfo.cs index be389701..1639993b 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowActivitiesInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowActivitiesInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowActivitiesInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowBaseInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowBaseInfo.cs index c9b6de24..de958b51 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowBaseInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowBaseInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowBaseInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowProjectRelation.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowProjectRelation.cs index 47441e50..8b73de08 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowProjectRelation.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowProjectRelation.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowProjectRelation { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowReleaseInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowReleaseInfo.cs index a0c8d3c4..d7ef6c3a 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowReleaseInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowReleaseInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowReleaseInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunActivitiesInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunActivitiesInfo.cs index 095a307b..a714a34b 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunActivitiesInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunActivitiesInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowRunActivitiesInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunInfo.cs b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunInfo.cs index 82d70553..f0ed0ef8 100644 --- a/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/ServiceWorkFlowRunInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class ServiceWorkFlowRunInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/StatusSkuBaseInfo.cs b/Myshipping.Application/Entity/TrackingSystem/StatusSkuBaseInfo.cs index 1414e4fe..ed6ae975 100644 --- a/Myshipping.Application/Entity/TrackingSystem/StatusSkuBaseInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/StatusSkuBaseInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class StatusSkuBaseInfo { diff --git a/Myshipping.Application/Entity/TrackingSystem/StatusTriggerBaseInfo.cs b/Myshipping.Application/Entity/TrackingSystem/StatusTriggerBaseInfo.cs index 7cb30413..e0ad3012 100644 --- a/Myshipping.Application/Entity/TrackingSystem/StatusTriggerBaseInfo.cs +++ b/Myshipping.Application/Entity/TrackingSystem/StatusTriggerBaseInfo.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Entity.TrackingSystem +namespace Myshipping.Application.Entity { internal class StatusTriggerBaseInfo { diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceProjectBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceProjectBaseDto.cs index 4319e487..25f6d0d1 100644 --- a/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceProjectBaseDto.cs +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryServiceProjectBaseDto.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Service.TrackingSystem.Dtos +namespace Myshipping.Application { internal class QueryServiceProjectBaseDto { diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusSkuBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusSkuBaseDto.cs new file mode 100644 index 00000000..6f81b93f --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/QueryStatusSkuBaseDto.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 QueryStatusSkuBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBaseDto.cs index 318a19a4..7accee45 100644 --- a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBaseDto.cs +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBaseDto.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Service.TrackingSystem.Dtos +namespace Myshipping.Application { internal class ServiceProjectBaseDto { diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBasePageDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBasePageDto.cs index 1fccf2ca..a0c0e255 100644 --- a/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBasePageDto.cs +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/ServiceProjectBasePageDto.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Service.TrackingSystem.Dtos +namespace Myshipping.Application { internal class ServiceProjectBasePageDto { diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBaseDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBaseDto.cs new file mode 100644 index 00000000..0a977232 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBaseDto.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 StatusSkuBaseDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBasePageDto.cs b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBasePageDto.cs new file mode 100644 index 00000000..f9f32470 --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Dtos/StatusSkuBasePageDto.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 StatusSkuBasePageDto + { + } +} diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceProjectService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceProjectService.cs index 2b3cc28c..410a7ca6 100644 --- a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceProjectService.cs +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceProjectService.cs @@ -1,12 +1,11 @@ -using Myshipping.Application.Service.TrackingSystem.Dtos; -using Myshipping.Core; +using Myshipping.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Myshipping.Application.Service.TrackingSystem.Interface +namespace Myshipping.Application { /// /// 服务项目 @@ -48,6 +47,21 @@ namespace Myshipping.Application.Service.TrackingSystem.Interface /// 返回回执 Task Delete(string pkId); + /// + /// 获取服务项目详情 + /// + /// 服务项目主键 + /// 返回回执 + Task GetInfo(string pkId); + + /// + /// 检索服务项目列表 + /// + /// 检索值 + /// 最大返回行数(默认15) + /// 返回回执 + Task QueryList(string queryItem, int topNum = 15); + /// /// 服务项目台账查询 /// @@ -56,5 +70,6 @@ namespace Myshipping.Application.Service.TrackingSystem.Interface Task> GetPageAsync(QueryServiceProjectBaseDto QuerySearch); + } } diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IStatusSkuBaseService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IStatusSkuBaseService.cs new file mode 100644 index 00000000..f2066dea --- /dev/null +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IStatusSkuBaseService.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 IStatusSkuBaseService + { + /// + /// 保存 + /// + /// 状态详情 + /// 返回回执 + Task Save(StatusSkuBaseDto info); + + /// + /// 保存并启用 + /// + /// 状态详情 + /// 返回回执 + Task SaveAndEnable(StatusSkuBaseDto 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(QueryStatusSkuBaseDto QuerySearch); + + } +}