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 id="findAllByPagePath" resultMap="commentViewResultMap" parameterType="string">
select * select *
from commentView from commentView
# 无奈之举 <if test="pagePath != null ">
<if test="toString() != null ">
where pagePath = #{pagePath} where pagePath = #{pagePath}
</if> </if>
</select> </select>