|
|
@ -45,13 +45,13 @@ public class ClientCommonController : ApiController
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 获取商品下拉列表-客户端
|
|
|
|
/// 获取商品下拉列表-客户端
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="code">商品代码</param>
|
|
|
|
/// <param name="queryKey">商品代码</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpGet]
|
|
|
|
[HttpGet]
|
|
|
|
[Route("GetClientGoodsList")]
|
|
|
|
[Route("GetClientGoodsList")]
|
|
|
|
public async Task<DataResult<List<CodeGoodsSelectRes>>> GetClientGoodsList([FromQuery] string code)
|
|
|
|
public async Task<DataResult<List<CodeGoodsSelectRes>>> GetClientGoodsList([FromQuery] string queryKey)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var res = await _invokeService.GetClientGoodsList(code);
|
|
|
|
var res = await _invokeService.GetClientGoodsList(queryKey);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -574,9 +574,9 @@ public class ClientCommonController : ApiController
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpGet]
|
|
|
|
[HttpGet]
|
|
|
|
[Route("GetVesselSelectList")]
|
|
|
|
[Route("GetVesselSelectList")]
|
|
|
|
public DataResult<List<CodeVesselSelectRes>> GetVesselSelectList()
|
|
|
|
public DataResult<List<CodeVesselSelectRes>> GetVesselSelectList([FromQuery] string queryKey = "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var res = _invokeService.GetVesselSelectList();
|
|
|
|
var res = _invokeService.GetVesselSelectList(queryKey);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -586,9 +586,9 @@ public class ClientCommonController : ApiController
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpGet]
|
|
|
|
[HttpGet]
|
|
|
|
[Route("GetVoynoSelectList")]
|
|
|
|
[Route("GetVoynoSelectList")]
|
|
|
|
public DataResult<List<CodeVoynoSelectRes>> GetVoynoSelectList()
|
|
|
|
public DataResult<List<CodeVoynoSelectRes>> GetVoynoSelectList([FromQuery] string queryKey = "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var res = _invokeService.GetVoynoSelectList();
|
|
|
|
var res = _invokeService.GetVoynoSelectList(queryKey);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|