QUERY PLAN
Sort (cost=19.40..19.42 rows=11 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..19.20 rows=11 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 ('{1000,1001,1004,1005,1011,1013,1015,1017,1022,1023,5016,5064,5085,5087,5248,5250,5252,5295,5296,5300,5311,5329,5332,5360,5388,5404,5420,5440,5445,5446}'::integer[])) OR (id = ANY ('{5015,5087,5252,5295,5329}'::integer[])) OR (id = ANY ('{5252,1015,1000,5412,5295,1013,5360,5359,5388,5364,5015,5413,1014,5064,5300,5329,1011,5016,1017,1005,1004,5087}'::integer[]))))