接口冲突修改

usertest
cjy 3 months ago
parent d5d56b6548
commit 7fb59a8686

@ -18,7 +18,7 @@ public interface IClientCommonService
/// 根据五字码获取港口信息-客户端
/// </summary>
/// <returns></returns>
public Task<DataResult<CodePortInfoRes>> GetClientPortSelectList(string queryKey = "");
public Task<DataResult<CodePortInfoRes>> GetClientPortInfoByCode(string queryKey = "");
/// <summary>
/// 获取航线操作员列表
/// </summary>
@ -28,7 +28,7 @@ public interface IClientCommonService
/// 获取委托单位下拉列表
/// </summary>
/// <returns></returns>
public Task<DataResult<List<ControllerClientRes>>> GetControllerClientList(string queryKey = "");
public Task<DataResult<List<ControllerClientRes>>> GetControllerClientListByKey(string queryKey = "");
/// <summary>
/// 获取船公司下拉列表
/// </summary>

@ -52,7 +52,7 @@ public class ClientCommonService : IClientCommonService
/// 根据五字码获取港口信息-客户端
/// </summary>
/// <returns></returns>
public async Task<DataResult<CodePortInfoRes>> GetClientPortSelectList(string queryKey = "")
public async Task<DataResult<CodePortInfoRes>> GetClientPortInfoByCode(string queryKey = "")
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var data = await tenantDb.Queryable<CodePort>()
@ -80,7 +80,7 @@ public class ClientCommonService : IClientCommonService
/// 获取委托单位下拉列表
/// </summary>
/// <returns></returns>
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientList(string queryKey = "")
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientListByKey(string queryKey = "")
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var data = await tenantDb.Queryable<InfoClient>()

@ -34,10 +34,10 @@ public class ClientCommonController : ApiController
/// <param name="queryKey">港口五字码</param>
/// <returns></returns>
[HttpGet]
[Route("GetClientPortSelectList")]
public async Task<DataResult<CodePortInfoRes>> GetClientPortSelectList([FromQuery] string queryKey)
[Route("GetClientPortInfoByCode")]
public async Task<DataResult<CodePortInfoRes>> GetClientPortInfoByCode([FromQuery] string queryKey)
{
var res = await _invokeService.GetClientPortSelectList(queryKey);
var res = await _invokeService.GetClientPortInfoByCode(queryKey);
return res;
}
/// <summary>
@ -58,10 +58,10 @@ public class ClientCommonController : ApiController
/// <param name="queryKey">委托单位代码或中文名称</param>
/// <returns></returns>
[HttpGet]
[Route("GetControllerClientList")]
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientList([FromQuery] string queryKey)
[Route("GetControllerClientListByKey")]
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientListByKey([FromQuery] string queryKey)
{
var res = await _invokeService.GetControllerClientList(queryKey);
var res = await _invokeService.GetControllerClientListByKey(queryKey);
return res;
}
/// <summary>

Loading…
Cancel
Save