org.postgresql.util.PSQLException: ERROR: operator does not exist: numeric = character varying

1 原因

数据库中字段,和你需要查询的传入的字段类型是不一样的,所以报错

比如你数据库是数字,但是你代码里面写的参数是字符串值

2 解决

参数类型保持一致

猜你喜欢

转载自blog.csdn.net/python113/article/details/132601240