public int executeUpdate(String sql,List params) {
		int result = -1;
		try {
			//执行SQL语句
            PreparedStatement ps = connection.prepareStatement(sql);
            if(params != null)
           for(int i = 0 ;i < params.size();i++){
               ps.setObject(i+1,params.get(i));
           }
			result = ps.executeUpdate();
		} catch (Exception e) {
			//throw new QueryException(e.getMessage());
			logger.error(e.getMessage());
			throw e;
		}finally {
			return result;
		}

	}