赞
踩
void deleteBatchUser(Integer[] id);
<!-- 根据ids,批量删除数据
如果是数组或Collection集合,框架会将数组或Collection集合存储到Map中,以"array"和"list"作为key
如果是数组以 “array”作为key
如果是集合以 “list”作为key
-->
<delete id="deleteBatchUser" >
delete from t_user where id in
<foreach collection="array" item="userid" open="(" separator="," close=")">
#{userid}
</foreach
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。