QUERY PLAN
Sort (cost=9.83..9.84 rows=1 width=52)
Sort Key: pinyin1 NULLS FIRST, namecut1 NULLS FIRST, pinyin2 NULLS FIRST, namecut2 NULLS FIRST, pinyin3 NULLS FIRST, namecut3 NULLS FIRST, pinyin4 NULLS FIRST, namecut4 NULLS FIRST
-> Seq Scan on tbl_users (cost=0.00..9.82 rows=1 width=52)
Filter: ((user_status = '1'::type_global_user_status) AND (department_id = ANY ('{1,2,3}'::integer[])) AND ((id = 1004) OR (id = ANY ('{1011,1017,5015,5087}'::integer[])) OR (id = ANY ('{5329,5359,5364}'::integer[]))))