2019年9月22日
摘要: 1.mybatis动态sql If、trim、foreach If :如果 name 不为空,就进行if体的拼接 <if test="bname != null" > #{bname,jdbcType=VARCHAR}, </if> trim:一样的sql语句拼接:prefix前缀,suffi 后缀 阅读全文
posted @ 2019-09-22 11:38 Renduo 阅读(662) 评论(0) 推荐(0) 编辑