QUERY PLAN
Sort (cost=14.59..14.61 rows=6 width=55)
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..14.51 rows=6 width=55)
Filter: ((user_status = '1'::type_global_user_status) AND (department_id = ANY ('{4,1,2,3,9,8,6,7,10}'::integer[])) AND (id = ANY ('{1001,1022,1015,5420,5445,5440,5085,5311,5248,5252,5404,5446,5332,1011,5250,1023,5295,1005,5016,5329,5388,5087,5064,1004,1017,1013,5360,5296,5300,1000}'::integer[])))