mybatis中SQL语句运用总结

union 连接查询 连接两个表后会过滤掉重复的值 <sql id="condition"> <if test="transType != null"> and trans_type = #{transType,jdbcType=TINYINT} </if> <if test="payChannel
posted @ 2018-09-21 16:07  努力的小雨  阅读(2056)  评论(0编辑  收藏  举报