@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")User findUserByStatusAndNameNamedParams( @Param("status") Integer status, @Param("name") String name);
@Query("SELECT campaignUser from CampaignUser campaignUser join fetch campaignUser.campaign campaign " +
"where campaign.codUniqueCampaign = :codUniqueCampaign " +
"and campaignUser.codTenant = :codTenant")
Optional<CampaignUser> findByCampaignCodUniqueCampaignAndCodTenant(String codUniqueCampaign, String codTenant);