1
2
3
<if test='testdata != null and testdata !=""'>
AND T.TEST_DATA LIKE CONCAT(CONCAT('%', #{testdata, jdbcType = VARCHAR}), '%')
</if>
Post
Cancel
MyBatis中使用模糊查询
This post is licensed under
CC BY 4.0
by the author.