修正comment,banner接口

This commit is contained in:
sjm
2023-12-22 14:03:59 +08:00
parent 39048bbcfc
commit 7d3f10a7dc
11 changed files with 224 additions and 23 deletions

View File

@@ -145,11 +145,13 @@
where id = #{id,jdbcType=INTEGER}
</update>
<select id="selectByRootId" parameterType="java.lang.Integer" resultMap="BaseResultMap">
<select id="selectByAllComment" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
id
*
from ln_comment
where root_comment_id = #{rootCommentId,jdbcType=INTEGER}
where root_comment_id = 0 and comment_status = 0
</select>
</mapper>