|
|
|
@ -280,7 +280,7 @@ public class ClientCommonService : IClientCommonService
|
|
|
|
|
{
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
var list = await tenantDb.Queryable<CodeCarrier>()
|
|
|
|
|
.WhereIF(!string.IsNullOrEmpty(queryKey), a => a.Code.Contains(queryKey) || a.CnName.Contains(queryKey))
|
|
|
|
|
.WhereIF(!string.IsNullOrEmpty(queryKey), a => a.Code.Contains(queryKey) || a.CnName.Contains(queryKey) || a.EnName.Contains(queryKey) || a.CnShortName.Contains(queryKey) )
|
|
|
|
|
.Select(a => new CodeCarrierRes()
|
|
|
|
|
{
|
|
|
|
|
PinYinCode = a.Code + "(" + a.CnName + ")",
|
|
|
|
|