Mybatis中#与$的区别
1.两者都是动态的向sql语句中传入需要的参数 2.#传入的参数在SQL中显示为字符串 eg:select id,name,age from student where id =#{id ...
1.两者都是动态的向sql语句中传入需要的参数 2.#传入的参数在SQL中显示为字符串 eg:select id,name,age from student where id =#{id ...