public List<Blog> findBlogsByBid1(int id) {
List<Blog> blogs=new ArrayList<Blog>();
String sql="select bg.id,bg.title,bg.access_times,bg.post_time,br.id,br.nick_name from blog as bg right join bloger as br on bg.bloger_id=br.id where br.id=?";
return blogs;
}
转载于:https://blog.51cto.com/jtmal/1290659