Commit db17bfb0 authored by 万成波's avatar 万成波

重命名字段

parent 8cdfe588
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration> <configuration>
<!-- 日志存放路径 --> <!-- 日志存放路径 -->
<property name="log.path" value="/home/ruoyi/logs"/> <property name="log.path" value="logs"/>
<!-- 日志输出格式 --> <!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n"/> <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n"/>
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
<view class="datetime">{{item.createTime}}</view> <view class="datetime">{{item.createTime}}</view>
</view> </view>
<view class="content"> <view class="content">
<view class="text" v-if="!item.replyNikeName">{{item.content}}</view> <view class="text" v-if="!item.replyNickName">{{item.content}}</view>
<view class="text" v-else @click.stop="handleReplayComment(item)"> <view class="text" v-else @click.stop="handleReplayComment(item)">
回复<span style="color: #0058B6;">{{item.replyNikeName}}</span>{{item.content}} 回复<span style="color: #0058B6;">{{item.replyNickName}}</span>{{item.content}}
</view> </view>
<view class="operation-text"> <view class="operation-text">
<view class="add-text" v-if="form.isSelf==1&&activeIndex==1 &&item.isFeatured==0" <view class="add-text" v-if="form.isSelf==1&&activeIndex==1 &&item.isFeatured==0"
......
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
<view class="username">{{item.nickName}}:</view> <view class="username">{{item.nickName}}:</view>
<view class="datetime">2025-07-01 04:21:21</view> <view class="datetime">2025-07-01 04:21:21</view>
</view> </view>
<view class="content" v-if="!item.replyNikeName" @click.stop="handleReplayComment(item)">{{item.content}}</view> <view class="content" v-if="!item.replyNickName" @click.stop="handleReplayComment(item)">{{item.content}}</view>
<view class="content" v-else @click.stop="handleReplayComment(item)"> <view class="content" v-else @click.stop="handleReplayComment(item)">
回复<span style="color: #0058B6;">{{item.replyNikeName}}:</span>:{{item.content}} 回复<span style="color: #0058B6;">{{item.replyNickName}}:</span>:{{item.content}}
</view> </view>
<!-- <view class="tips">未精选,仅自己可见</view> --> <!-- <view class="tips">未精选,仅自己可见</view> -->
</view> </view>
......
...@@ -78,7 +78,7 @@ public class BbsMomentComment extends BaseEntity { ...@@ -78,7 +78,7 @@ public class BbsMomentComment extends BaseEntity {
/** 回复的用户姓名 */ /** 回复的用户姓名 */
@Excel(name = "回复的用户姓名") @Excel(name = "回复的用户姓名")
@ApiModelProperty("回复的用户姓名") @ApiModelProperty("回复的用户姓名")
private String replyNikeName; private String replyNickName;
/** 评论祖级路径(逗号分隔) */ /** 评论祖级路径(逗号分隔) */
@Excel(name = "评论祖级路径", readConverterExp = "逗=号分隔") @Excel(name = "评论祖级路径", readConverterExp = "逗=号分隔")
......
...@@ -28,7 +28,7 @@ public class BbsCommentDetailVO { ...@@ -28,7 +28,7 @@ public class BbsCommentDetailVO {
private String userName; private String userName;
/** 回复评论用户名 */ /** 回复评论用户名 */
private String replyNikeName; private String replyNickName;
/** 回复评论内容 */ /** 回复评论内容 */
private String replyContent; private String replyContent;
......
...@@ -11,7 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -11,7 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM FROM
bbs_moment_vote v bbs_moment_vote v
LEFT JOIN LEFT JOIN
qwmh_sys_user_view uv ON uv.user_name = v.user_name sys_user uv ON uv.user_name = v.user_name
WHERE WHERE
v.moment_id = #{momentId} AND v.option_code = #{optionCode} v.moment_id = #{momentId} AND v.option_code = #{optionCode}
ORDER BY ORDER BY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment