花费 6 ms
Mybatis中#与$的区别

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

Sat Aug 25 22:46:00 CST 2018 0 6824

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM