mybatis 模糊查詢

sql中字符串拼接    SELECT * FROM tableName WHERE name LIKE CONCAT(CONCAT('%', #{text}), '%'); 舉個例子說明一下: 如://模糊搜索花名 IFlowerMapper.java @Select("select * from flower where name LIKE  CONCAT(CONCAT('%', #{name
相關文章
相關標籤/搜索