页面展示:
前端jsp:
删除单个:
批量删除:data是一个数组,将其拼接成ids(list)
后端,封装一个专门接收前端传过来的id列表的工具类:
controller:
service层:
mapper: