liu %!s(int64=3) %!d(string=hai) anos
pai
achega
86d3587fd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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" +