摘要: if 和where 动态sql(所有都要+and) <select id="xx" resultMap="xx"> select * from user <where> <if test="xx!=' ' and xx!=null"> and xxx like concat ('%',#{xxx}, 阅读全文
posted @ 2018-02-23 10:29 蕉叶 阅读(133) 评论(0) 推荐(0) 编辑