@ -6,6 +6,9 @@
</select>
<select id="selectSysForumCommentOne" resultType="com.yxt.demo.system.api.sys_forum_comment.SysForumComment">
select * from sys_forum_comment where sid = #{sid}
select f.id,f.sid,f.createBySid,f.forumSid,f.content,i.name from sys_forum_comment f
left join sys_user i
on f.createBySid = i.sid
where f.sid = #{sid}
</mapper>