QUERY PLAN
Sort (cost=15.38..15.46 rows=31 width=78)
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.62 rows=31 width=78)
Filter: ((department_id = ANY ('{4,1,2,3,9,8,6,7,10}'::integer[])) AND (id = ANY ('{5252,1000,5412,1023,5360,5388,5359,1022,5364,5015,5300,5329,1011,5445,5016,5248,1017,1005,1004,5085,5296,1015,5358,5295,1013,5413,1014,5064,5446,1001,5087}'::integer[])))