What is the problem of Mybatis @ select like passing values?
This article introduces how the value passing problem of Mybatis @ select like is. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
Skillfully using CONCAT stitching:
SELECT b.id, b.title, b.subtitle, b.num, b.descr, b.img, b.info, b.f_price AS price FROM product b WHERE b.status=1 AND b.i_shelf=2 AND b.title LIKE CONCAT ('%', 'mask','%') ORDER BY b.sort ASC about the value passing problem of Mybatis @ select like is shared here. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.