摘要:
mysql: select * from tb_pro where tb_pro.name like CONCAT('%',char(10),'%') select * from tb_pro where tb_pro.name like CONCAT('%',char(13),'%') 原文地址: 阅读全文
摘要:
mybatis会在每次迭代后给sql语句append上separator属性指定的字符 <foreach collection="list" item="item" separator="or"> id = #{item.id} AND name = #{item.name} </foreach> 阅读全文