JFinal批处理Sql
// 批处理sql
List<String> sqlList = new ArrayList<String>();
sqlList.add("delete from nice where note = '111'");
sqlList.add("delete from nice where note = '222'");
sqlList.add("delete from nice where note = '333'");
Db.batch(sqlList, 3);
// 批处理sql
List<String> sqlList = new ArrayList<String>();
sqlList.add("delete from nice where note = '111'");
sqlList.add("delete from nice where note = '222'");
sqlList.add("delete from nice where note = '333'");
Db.batch(sqlList, 3);