|
|
@ -232,7 +232,7 @@ namespace Myshipping.Core.Service
|
|
|
|
[HttpGet("/DJYTenantParam/getParamValue")]
|
|
|
|
[HttpGet("/DJYTenantParam/getParamValue")]
|
|
|
|
public async Task<List<DjyTenantParamValue>> GetParamValue(long tenantId, string paraCode=null)
|
|
|
|
public async Task<List<DjyTenantParamValue>> GetParamValue(long tenantId, string paraCode=null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return await _valuerep.AsQueryable().Where(x => x.TenantId == tenantId).WhereIF(paraCode!=null,x=>x.ParaCode==paraCode).OrderBy(x => x.Sort).ToListAsync();
|
|
|
|
return await _valuerep.AsQueryable().Filter(null, true).Where(x => x.TenantId == tenantId).WhereIF(paraCode!=null,x=>x.ParaCode==paraCode).OrderBy(x => x.Sort).ToListAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 增加参数
|
|
|
|
/// 增加参数
|
|
|
|