diff --git a/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageVGMService.cs b/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageVGMService.cs index 68b3d6f4..dbc577d1 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageVGMService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageVGMService.cs @@ -40,7 +40,7 @@ namespace Myshipping.Application.Service.TaskManagePlat.Interface Task> GetVGMMissingInfoByTaskId(string taskPkId); /// - /// + /// 发送VGM未提交通知(钉钉消息、邮件通知) /// /// /// diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageVGMService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageVGMService.cs index f2a1afb0..08674c84 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageVGMService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageVGMService.cs @@ -2,6 +2,7 @@ using Furion.FriendlyException; using Mapster; using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging.Abstractions; using Myshipping.Application.Entity; using Myshipping.Application.Service.TaskManagePlat.Interface; using Myshipping.Core; @@ -40,7 +41,7 @@ namespace Myshipping.Application /// /// BC主键 /// 返回回执 - [HttpGet("/BookingMSKAPI/GetVGMSubmissionInfo")] + [HttpGet("/TaskManageVGM/GetVGMSubmissionInfo")] public async Task> GetVGMSubmissionInfo(string pkId) { List list = new List(); @@ -78,7 +79,7 @@ namespace Myshipping.Application /// /// VGM任务主键 /// 返回回执 - [HttpGet("/BookingMSKAPI/GetVGMSubmissionInfoByTaskId")] + [HttpGet("/TaskManageVGM/GetVGMSubmissionInfoByTaskId")] public async Task> GetVGMSubmissionInfoByTaskId(string taskPkId) { List list = new List(); @@ -121,7 +122,7 @@ namespace Myshipping.Application /// /// BC主键 /// 返回回执 - [HttpGet("/BookingMSKAPI/GetVGMMissingInfo")] + [HttpGet("/TaskManageVGM/GetVGMMissingInfo")] public async Task> GetVGMMissingInfo(string pkId) { List list = new List(); @@ -134,7 +135,7 @@ namespace Myshipping.Application var CtnList = _taskVGMCtnInfoRepository.AsQueryable() .Where(a => a.P_ID == pkId).ToList(); - if (CtnList.Count == 0) + if (CtnList.Count > 0) { list = CtnList.OrderBy(p => p.P_ID).ThenBy(p => p.CNTRNO).Select(p => { @@ -159,7 +160,7 @@ namespace Myshipping.Application /// /// VGM任务主键 /// 返回回执 - [HttpGet("/BookingMSKAPI/GetVGMMissingInfoByTaskId")] + [HttpGet("/TaskManageVGM/GetVGMMissingInfoByTaskId")] public async Task> GetVGMMissingInfoByTaskId(string taskPkId) { List list = new List(); @@ -200,5 +201,16 @@ namespace Myshipping.Application return list; } #endregion + + /// + /// 发送VGM未提交通知(钉钉消息、邮件通知) + /// + /// + /// + [HttpGet("/TaskManageVGM/SendVGMMissingNotice")] + public async Task SendVGMMissingNotice(string taskPkId) + { + return null; + } } }