@Select("<script>SELECT id,name,a,b,c FROM a_xx WHERE id in " + "<foreach collection='ids' index='index' item='id' open= '(' separator=',' close=')'>" + "#{id}" + "</foreach>" + " and disabled = 0 GROUP BY id " + "</script>") List<XxDto> selTotalByIds(@Param("ids") ArrayList<Object> ids);