摘要:
if 和where 动态sql(所有都要+and) <select id="xx" resultMap="xx"> select * from user <where> <if test="xx!=' ' and xx!=null"> and xxx like concat ('%',#{xxx}, 阅读全文
摘要:
The content of elements must consist of well-formed character data or markup. 特殊字符有: < 小于号 ,>大于号等 要用 <![CDATA[ select * from tb_users where id<=100 ]] 阅读全文