All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.conf.test.stub.query.xml Maven / Gradle / Ivy

There is a newer version: 7.28.2
Show newest version


    Люди
    stub
    
        
            select :select
                from pim_individual i
                left join pim_gender g on g.id = i.gender_id
                left join md_ethnic_group eg on eg.id = i.ethnic_group_id
                left join md_soc_group sg on sg.id = i.social_group_id
                left join pim_nationality n on n.id = i.nationality_id
                where :filters
                order by :sorting
            
            select count(*)
                from pim_individual i
                left join pim_gender g on g.id = i.gender_id
                left join md_ethnic_group eg on eg.id = i.ethnic_group_id
                left join md_soc_group sg on sg.id = i.social_group_id
                where :filters
            
            i
        
    

    
        
            id
            Integer
            i.id
            
                i.id = :id
            
        
        
            surname
            String
            i.surname
            i.surname
            
                i.surname like '%'||:surname||'%'
            
            Фамилия
            i.surname
        
        
            name
            String
            i.name
            i.name
            
                i.name like '%'||:name||'%'
            
            Имя
            i.name
        
        
            patrName
            String
            i.patr_name
            i.patr_name
            
                i.patr_name like '%'||:patrName||'%'
            
            Отчество
            i.patr_name
        
        
            fullName
            String
            coalesce(i.surname,'')||' '||coalesce(i.name,'')||' '||coalesce(i.patr_name,'')
            
                :expression like '%'||:fullName||'%'
            
            ФИО
        
        
            birthday
            Date
            i.birth_dt
            
                i.birth_dt = :birthday
            
            Дата рождения
            i.birth_dt
        
        
            age
            integer
            DATEDIFF('DAY', i.birth_dt, NOW())/365
            Возраст
            DATEDIFF('DAY', i.birth_dt, NOW())/365
        
        
            gender.name
            Пол
            String
            g.name
        
        
            gender.id
            Пол
            Integer
            g.id
        
        
            vip
            VIP
            Boolean
            i.vip
        
        
            hasCitizenship
            Городской житель
            Boolean
            i.has_citizenship
        
        
            ethnicGroupName
            Этническая группа
            String
            eg.name
        
        
            socialGroupName
            Социальная группа
            String
            sg.name
        
        
            nationality.name
            Пол
            String
            n.name
        
        
            nationality.id
            Integer
            n.id
        
        
            vipIcon
            VIP
            Boolean
            CASE WHEN i.vip = true THEN 'icon-exclamation-sign' END vip_icon
        
        
            ageColor
            VIP
            Boolean
             60 THEN 'text-warning' WHEN DATEDIFF('DAY', i.birth_dt, NOW())/365 < 7 THEN 'text-success' END age_color
                ]]>
        
        
            ageRowColor
            VIP
            Boolean
             60 THEN 'warning' WHEN DATEDIFF('DAY', i.birth_dt, NOW())/365 < 7 THEN 'success' END age_color
                ]]>
        
        
            genderNameNoSort
            Пол
            string
            g.name
        
        
            none
            integer
        
        
        
            array[0].id
            integer
            1
        
        
            array[1].id
            integer
            2
        
    




© 2015 - 2025 Weber Informatics LLC | Privacy Policy