Browse Source

修改bug

liu 2 years ago
parent
commit
86d3587fd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/dao/impl/BookingCommentImplDao.java

+ 1 - 1
mhotel/src/com/happy/dao/impl/BookingCommentImplDao.java

@@ -339,7 +339,7 @@ public class BookingCommentImplDao implements BookingCommentDao {
     public CommentDetailsVo commentDetails(String bookingCommentId) {
         String sql = "SELECT\n" +
                 "\tbc.id AS id,\n" +
-                "\tbc.create_username AS userName,\n" +
+                "\tu.user_name AS userName,\n" +
                 "\tu.head_photo AS headPhoto,\n" +
                 "\tbc.score AS score,\n" +
                 "\tb.live_time AS liveTime,\n" +