List<Testcl> test(List<String> list);
<select id="test" resultMap="Model"> select * from t_test where n_yx = 1 and c_id in <foreach collection="list" item="id" index="index" open="(" close=")" separator=","> #{id} </foreach> order by d_create </select>
原文:https://www.cnblogs.com/jiehanshi/p/12397078.html