ERROR: argument of LIMIT must be type bigint, not type character varying

报错原因就是,limit的参数必须是个数值类型,而不能是个字符串类型

解决:
用 ${} 代替 #{}

posted @ 2021-08-24 14:40  香草味的薄荷糖  阅读(982)  评论(0)    收藏  举报