public boolean doCreate(List<Admingroup> groupid, String adminid)
			throws Exception {
		boolean flag = false;
		String sql = "INSERT INTO admin_admingroup(adminid,groupid) VALUES (?,?)";
		this.pstmt = this.conn.prepareStatement(sql);
		Iterator<Admingroup> itergroup = groupid.iterator();
		while (itergroup.hasNext()) {
			Admingroup group = itergroup.next();
			this.pstmt.setString(1, adminid);
			this.pstmt.setInt(2, group.getGroupid());
			this.pstmt.addBatch();
		}
		if (this.pstmt.executeBatch().length > 0) {
			flag = true;
		}
		return flag;
	}