大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
package com.test.hou.po; public class Student { private int sid; private String sname; private int sage; public int getSid() { return sid; } public void setSid(int sid) { this.sid = sid; } public String getSname() { return sname; } public void setSname(String sname) { this.sname = sname; } public int getSage() { return sage; } public void setSage(int sage) { this.sage = sage; } }
2.StudentAction类
public String batchDeleteStudent(){ Liststudentslist=studentService.selectStudent(); studentService.batchDeleteStudent(studentslist); return "batchinsertstudent"; }
3.StudentMapperXml类
delete from student sid =#{item.sid}