最近的一些修改 #7
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user