委托单位下拉及客户下拉检索数据查询所有机构

dev
cjy 1 month ago
parent 0d93da99ae
commit 63d4fb2aa2

@ -194,7 +194,7 @@ public class ClientCommonService : IClientCommonService
.Select<ClientContactRes>().ToListAsync();
var conditions = new List<IConditionalModel>();
var query = tenantDb.Queryable<InfoClient>();
var query = tenantDb.Queryable<InfoClient>().ClearFilter<ISharedOrgId>();
(query, _, conditions) = await commonService.GetSpecialVisibleDataRuleFilter<InfoClient>(query, tenantDb);
var userids = new List<string>();
if (conditions.Count>0)
@ -1271,7 +1271,7 @@ public class ClientCommonService : IClientCommonService
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var conditions = new List<IConditionalModel>();
var query = tenantDb.Queryable<InfoClient>();
var query = tenantDb.Queryable<InfoClient>().ClearFilter<ISharedOrgId>();
(query, _, conditions) = await commonService.GetSpecialVisibleDataRuleFilter<InfoClient>(query, tenantDb);
var userids = new List<string>();
if (conditions.Count > 0)

Loading…
Cancel
Save