mybatis foreach list
SELECT * FROM t_employee
WHERE id IN (1, 2, 3, ...)
/** id , , */
List getEmpsByConditions(@Param("list") List idList);
SELECT * FROM t_employee
WHERE id IN (1, 2, 3, ...)
/** id , , */
List getEmpsByConditions(@Param("list") List idList);