From 7fb59a86865725d76fbd996d2ca13947a57b2798 Mon Sep 17 00:00:00 2001 From: cjy Date: Fri, 16 Aug 2024 15:01:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=86=B2=E7=AA=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sys/Interface/IClientCommonService.cs | 4 ++-- .../DS.WMS.Core/Sys/Method/ClientCommonService.cs | 4 ++-- .../Controllers/ClientCommonController.cs | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Sys/Interface/IClientCommonService.cs b/ds-wms-service/DS.WMS.Core/Sys/Interface/IClientCommonService.cs index 66cd0d7f..2b112c65 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Interface/IClientCommonService.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Interface/IClientCommonService.cs @@ -18,7 +18,7 @@ public interface IClientCommonService /// 根据五字码获取港口信息-客户端 /// /// - public Task> GetClientPortSelectList(string queryKey = ""); + public Task> GetClientPortInfoByCode(string queryKey = ""); /// /// 获取航线操作员列表 /// @@ -28,7 +28,7 @@ public interface IClientCommonService /// 获取委托单位下拉列表 /// /// - public Task>> GetControllerClientList(string queryKey = ""); + public Task>> GetControllerClientListByKey(string queryKey = ""); /// /// 获取船公司下拉列表 /// diff --git a/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs b/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs index f7442eb3..30428a72 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Method/ClientCommonService.cs @@ -52,7 +52,7 @@ public class ClientCommonService : IClientCommonService /// 根据五字码获取港口信息-客户端 /// /// - public async Task> GetClientPortSelectList(string queryKey = "") + public async Task> GetClientPortInfoByCode(string queryKey = "") { var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var data = await tenantDb.Queryable() @@ -80,7 +80,7 @@ public class ClientCommonService : IClientCommonService /// 获取委托单位下拉列表 /// /// - public async Task>> GetControllerClientList(string queryKey = "") + public async Task>> GetControllerClientListByKey(string queryKey = "") { var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var data = await tenantDb.Queryable() diff --git a/ds-wms-service/DS.WMS.MainApi/Controllers/ClientCommonController.cs b/ds-wms-service/DS.WMS.MainApi/Controllers/ClientCommonController.cs index 7dcdba93..f894ce4e 100644 --- a/ds-wms-service/DS.WMS.MainApi/Controllers/ClientCommonController.cs +++ b/ds-wms-service/DS.WMS.MainApi/Controllers/ClientCommonController.cs @@ -34,10 +34,10 @@ public class ClientCommonController : ApiController /// 港口五字码 /// [HttpGet] - [Route("GetClientPortSelectList")] - public async Task> GetClientPortSelectList([FromQuery] string queryKey) + [Route("GetClientPortInfoByCode")] + public async Task> GetClientPortInfoByCode([FromQuery] string queryKey) { - var res = await _invokeService.GetClientPortSelectList(queryKey); + var res = await _invokeService.GetClientPortInfoByCode(queryKey); return res; } /// @@ -58,10 +58,10 @@ public class ClientCommonController : ApiController /// 委托单位代码或中文名称 /// [HttpGet] - [Route("GetControllerClientList")] - public async Task>> GetControllerClientList([FromQuery] string queryKey) + [Route("GetControllerClientListByKey")] + public async Task>> GetControllerClientListByKey([FromQuery] string queryKey) { - var res = await _invokeService.GetControllerClientList(queryKey); + var res = await _invokeService.GetControllerClientListByKey(queryKey); return res; } ///