mybatis遇到的问题
1、模糊查询
select * from t_user t1 where t1.username like CONCAT(CONCAT('%',#{username,jdbcType=VARCHAR}), '%')
select * from t_user t1 where t1.username like CONCAT(#{username,jdbcType=VARCHAR}, '%')se
原创
2017-12-01 14:56:27 ·
253 阅读 ·
0 评论