This commit is contained in:
禾几海
2020-07-11 10:52:24 +08:00
parent 6ee8fb65c3
commit 48f485b378

View File

@@ -84,8 +84,7 @@
<select id="findAllByPagePath" resultMap="commentViewResultMap" parameterType="string">
select *
from commentView
# 无奈之举
<if test="toString() != null ">
<if test="pagePath != null ">
where pagePath = #{pagePath}
</if>
</select>