protected Object execute() throws Exception {
return execute(queryList);
}
protected Data execute(final Data cQueryList) throws Exception {
Data result = getSqlMapClientTemplate().execute(
new SqlMapClientCallback<Data>() {
@Override
public Data doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
int size = cQueryList.size();
executor.startBatch();
for(int i =0; i < size; i++) {
String query = cQueryList.getString(i,TYPE_DATA_QUERY);
String type = cQueryList.getString(i, TYPE_DATA_TYPE);
HashMap<String, Object> param = (HashMap<String, Object>)cQueryList.get(i, TYPE_DATA_PARAM);
if(type.equals(TYPE_LIST)) {
Data result = new Data();
result.add(executor.queryForList(query, param));
cQueryList.add(i, TYPE_DATA_RESULT, result);
} else if(type.equals(TYPE_INT)) {
Integer result = (Integer)executor.queryForObject(query, param);
cQueryList.add(i, TYPE_DATA_RESULT, result);
} else if(type.equals(TYPE_STRING)) {