##这个符号内部会以预编译的形式出入数据,
$$这个符号内部数据会直接以String的形式插入sql中
<![CDATA[id < #id# ]]> 特殊符号要用CDATA区域括起来
<select id="selectZX" parameterClass="java.util.HashMap" resultClass="Content">
select top $count$
id,title from content
<dynamic prepend="where">
<isNotNull prepend="AND" property="a"> a = #c1# </isNotNull>
<isNotNull prepend="AND" property="strC"> c4 in ($strC$) </isNotNull>
<isNotNull prepend="AND" property="b"> b = #b# </isNotNull>
<isNotNull prepend="AND" property="id"> <![CDATA[id < #id# ]]> </isNotNull>
</dynamic>
ORDER BY id DESC
</select>