MyBatis-mapper文件之bind标签

    xiaoxiao2022-07-01  93

    作用:将OGNL表达式绑定到一个标量中,方便引用。

    <select id="xxx" ....> <bind name="_name" value="'%' + name + '%'"> select * from xx where name like #{_name} </select>
    最新回复(0)