• 一:Mybatis中#{}和${}的区别 1、#{}是预编译处理,${}是字符串替换。2、Mybatis在处理#{}时,会将sql中的#{}替换为?号,调用PreparedStatement的 set方法来赋值;3、Mybatis在处理{}
    admin1月前
    260