From d93a904098d6d473dfd3c28839dce2db6d3adf3c Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 14 Aug 2023 09:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IServiceWorkFlowManageService.cs | 6 +++++ .../ServiceWorkFlowManageService.cs | 25 +++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs index 77d09994..e78412d0 100644 --- a/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs +++ b/Myshipping.Application/Service/TrackingSystem/Interface/IServiceWorkFlowManageService.cs @@ -99,5 +99,11 @@ namespace Myshipping.Application /// 批量查询服务项目和状态详情 /// 返回回执 Task GetEnableStatusListByBusinessBatch(QueryServiceProjectWithStatusBatch model); + + /// + /// 手工同步历史服务状态(读取booking_goods_status同步到新的状态) + /// + /// + Task ManualSyncHistoryServiceStatus(); } } diff --git a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs index ded6efcd..eec414d1 100644 --- a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs +++ b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs @@ -2440,5 +2440,30 @@ namespace Myshipping.Application return resultList; } #endregion + + /// + /// 手工同步历史服务状态(读取booking_goods_status同步到新的状态) + /// + /// + public async Task ManualSyncHistoryServiceStatus() + { + TaskManageOrderResultDto result = new TaskManageOrderResultDto(); + + try + { + /* + + */ + result.succ = true; + //result.ext = resultList; + } + catch(Exception ex) + { + result.succ = false; + result.msg = $"检索服务项目下的状态列表失败,原因:{ex.Message}"; + } + + return result; + } } }