修正comment,banner接口
This commit is contained in:
@@ -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>
|
Reference in New Issue
Block a user