- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 mybatis 模糊查询
在mybatis中模糊查询与mysql中的查询语句不一样 mybatis中:select * from product where product_name LIKE CONCAT('%',#{text},'%' ) text=理(为动态传入的值String类型) mysql中:SELECT * FROM product WHERE product_name LIKE '%理%'
2016-06-05 16:16:25 362
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人