/** * 批量处理SQL * * @param sql * @param voList * @return * @throws Exception */ protected CurVO executeBatchSQL(String sql, List voList) throws Exception { if (voList.size() == 0) return new CurVO(); CurVO vo; if (!this.bind) vo = executeBatchNoBindSQL(sql, voList, this.connect); else vo = executeBatchBindSQL(sql, voList, this.connect); vo.setResult(vo.getBatchBesult().length); return vo; }