From 817c7de04cb6b74164a42ed0e6050ae5b91b0ef1 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 五月 2025 18:14:00 +0800 Subject: [PATCH] 视频评论增加被回复人头像字段 --- framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml | 3 +++ framework/src/main/java/cn/lili/modules/lmk/domain/entity/VideoComment.java | 4 ++++ framework/src/main/java/cn/lili/modules/lmk/domain/form/VideoCommentForm.java | 3 +++ framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoCommentVO.java | 1 + 4 files changed, 11 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/domain/entity/VideoComment.java b/framework/src/main/java/cn/lili/modules/lmk/domain/entity/VideoComment.java index 7042c38..db26f9e 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/domain/entity/VideoComment.java +++ b/framework/src/main/java/cn/lili/modules/lmk/domain/entity/VideoComment.java @@ -38,6 +38,10 @@ /** 琚洖澶嶄汉鏄电О */ private String replyUserNickname; + @TableField("reply_user_avatar") + /** 琚洖澶嶄汉澶村儚 */ + private String replyUserAvatar; + @TableField("master_comment_id") /** 涓昏瘎璁篿d */ private String masterCommentId; diff --git a/framework/src/main/java/cn/lili/modules/lmk/domain/form/VideoCommentForm.java b/framework/src/main/java/cn/lili/modules/lmk/domain/form/VideoCommentForm.java index 48dc822..eea019c 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/domain/form/VideoCommentForm.java +++ b/framework/src/main/java/cn/lili/modules/lmk/domain/form/VideoCommentForm.java @@ -43,6 +43,9 @@ @ApiModelProperty("鍥炲鐨勪汉鏄电О") private String replyUserNickname; + @ApiModelProperty("鍥炲鐨勪汉澶村儚") + private String replyUserAvatar; + @ApiModelProperty("涓昏瘎璁篿d锛屽彲浠巖eply鐨勮瘎璁轰笂鑾峰彇鍒�") private String masterCommentId; diff --git a/framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoCommentVO.java b/framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoCommentVO.java index b10cae5..34acb8e 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoCommentVO.java +++ b/framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoCommentVO.java @@ -37,6 +37,7 @@ private String replyId; private String replyUserId; private String replyUserNickname; + private String replyUserAvatar; @ApiModelProperty("涓昏瘎璁篿d") private String masterCommentId; diff --git a/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml b/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml index 2e64ebc..bfe9329 100644 --- a/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml +++ b/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml @@ -10,6 +10,7 @@ <result column="reply_id" property="replyId" /> <result column="reply_user_id" property="replyUserId" /> <result column="reply_user_nickname" property="replyUserNickname" /> + <result column="reply_user_avatar" property="replyUserAvatar" /> <result column="master_comment_id" property="masterCommentId" /> <result column="status" property="status" /> <result column="create_by" property="userId" /> @@ -74,6 +75,7 @@ LVC.reply_id, LVC.reply_user_id, LVC.reply_user_nickname, + LVC.reply_user_avatar, LVC.master_comment_id, LVC.status, LVC.id, @@ -108,6 +110,7 @@ LVC.reply_id, LVC.reply_user_id, LVC.reply_user_nickname, + LVC.reply_user_avatar, LVC.master_comment_id, LVC.status, LVC.id, -- Gitblit v1.8.0