QUERY PLAN
Sort (cost=12.07..12.15 rows=32 width=75)
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..11.27 rows=32 width=75)
Filter: ((department_id = ANY ('{4,1,2,3,9,8,6,7,10}'::integer[])) AND ((user_status = '1'::type_global_user_status) OR (id = ANY ('{1000,1004,1005,1011,1013,5064,5252,5360,5388,5446}'::integer[]))))