Mybatis(十三)
Mybatismybatis 中 #{}和 ${}的区别是什么?#{}是预编译处理,KaTeX parse error: Expected 'EOF', got '#' at position 21: …串替换;Mybatis在处理#̲{}时,会将sql中的#{}替…{}时,就是把${}替换成变量的值;使用#{}可以有效的防止SQL注入,提高系统安全性。mybatis 有几种分页方...