当mapper中用到@param注解时,mapper.xml中需要这样 #{paramName.start} paramName是注解的value www.yanand.me 转载于:https://www.cnblogs.com/terry0376/p/5542506.html