public void insertBasket(Basket basket){
		
		
		String name=basket.getName();
		float unitPrice = basket.getUnitPrice();
		float totalPrice = basket.getTotalPrice();
		int number = basket.getNumber();
		Date date = basket.getAddDate();
		int bookId = basket.getBookId();
		String userName = basket.getUserName();
		DBManager manager = new DBManager();
		String insert = "insert into basket(userName,name,unitPrice,number,totalPrice,addDate,bookId)" +
						"values(?,?,?,?,?,?,?);";
		Connection conn = null;
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		
		try{
			conn = manager.getConnection();
			pstmt = conn.prepareStatement(insert);
			pstmt.setString(1, userName);
			pstmt.setString(2,name);
			pstmt.setFloat(3, unitPrice);
			pstmt.setInt(4,number);
			pstmt.setFloat(5,totalPrice);
			pstmt.setDate(6,date);
			pstmt.setInt(7,bookId);
			pstmt.executeUpdate();
		}catch(Exception e){
			e.printStackTrace();
		}finally{
			manager.closeAll(rs, pstmt, conn);
		}
		
	}