select top #{pageSize}。。。。 将#改为$即可 具体原因有待研究 http://blog.youkuaiyun.com/leo_perfect/article/details/52180572