我是根据数组删的 ibatisXML
delete from student where sid in (
#[]#)
DAO层public void test(String sid) {
String[] sids = sid.split(",");
SqlMapClient client = IbatisFactory.getSqlMapClient();
System.out.println(client.delete("deleteStudent", sids));
action
this.studentDao.test(sid); 我新手 麻烦帮看下 谢谢了