船公司根据 英文名称检索

dev
cjy 4 weeks ago
parent 79c078e9ec
commit c46681d254

@ -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 + ")",

Loading…
Cancel
Save