QUERY PLAN
Sort (cost=22.08..22.23 rows=62 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..20.23 rows=62 width=78)
Filter: ((department_id = ANY ('{4,1,2,3,9,8,6,7,10}'::integer[])) AND (id = ANY ('{5088,5082,5252,1000,1023,5359,5300,5329,5304,1020,5248,1017,5102,5125,5124,5358,1003,5247,5030,5089,1013,5135,5332,5413,5446,5209,5029,5250,5087,5298,5072,5074,5360,5026,5388,5364,1022,5015,1011,1006,5249,5445,5016,1008,5096,1005,1004,5085,1016,5296,1015,5104,5295,5064,5208,1014,5309,5076,1001,5299,5101,5023}'::integer[])))