Mysql查询结果顺序按 in() 中ID 的顺序排列
select style_num_id ,style_id,style_title,style_pic FROM gb_style where online = 1 AND is_hide = 0 and style_num_id in #{styleNumId} ORDER BY FIELD #{styleNumId} 最终输出sql如下: