Commit 9659c747 authored by Quxl's avatar Quxl

x

parent 61044206
......@@ -286,7 +286,13 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate {
}
public int batchDelete(Object... objs) {
Sql desc = dialect.argsDelete(obj);
Sql desc = dialect.batchDelete(objs);
int[] counts = this.batchUpdate(desc.getSql(), desc.getBachArgs());
int countSum = 0;
for(int count : counts) {
countSum += count;
}
return countSum;
}
public int batchDelete(List<Object> objs) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment