QUERY PLAN
Sort (cost=9.07..9.08 rows=1 width=267)
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.06 rows=1 width=267)
Filter: ((user_status = '1'::type_global_user_status) AND (department_id = 2) AND (id = ANY ('{1015,1015,1023,1022,5248}'::integer[])))