Entity DAO com.soffid.iam.model.UserEmailEntityDao [Entity]
Description
DAO methods
findByListAndUser
select liu from com.soffid.iam.model.UserEmailEntity liu left join liu.mailList.domain as dominiCorreu where liu.mailList.name = :mailList and liu.mailList.tenant.id = :tenantId and ((:domain is null and dominiCorreu is null) or ( :domain is not null and dominiCorreu is not null and dominiCorreu.name = :domain)) and liu.user.userName = :user and liu.disabled = false
select liu from com.soffid.iam.model.UserEmailEntity liu where liu.user.userName = :user and liu.user.tenant.id = :tenantId and liu.disabled = false order by liu.mailList.name, liu.mailList.domain.name
select liu from com.soffid.iam.model.UserEmailEntity liu left join liu.mailList.domain as dominiCorreu where liu.mailList.name = :mailList and liu.mailList.tenant.id = :tenantId and liu.disabled = false and ((:domain is null and dominiCorreu is null) or ( :domain is not null and dominiCorreu is not null and dominiCorreu.name = :domain))