求助,关于查询图书 public void Select(String value){ Connection conn=DataBaseUtil.getConnection(); String sql="select * from book where bname like bname='%"+value+"%' or bauthor='%"+value+"%'"; PreparedStatement ps=null; ResultSet rs=null; List<Book> book=new ArrayList<Book>(); try{ ps=conn.prepareStatement(sql); rs=ps.executeQuery(); while(rs.next()){