### Error querying database. Cause: java.lang.reflect.UndeclaredThrowableException
### The error may exist in class path resource [com/dao/mapper/AdminMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: select id,borrowerName,borrowerIdCard,borrowerCellPhone,monthlyIncomeLevel,createTime from t_person_borrower where 1=1 limit 2
### Cause: java.lang.reflect.UndeclaredThrowableException] with root cause
com.mysql.jdbc.exceptions.jdbc4.MySQLDataException: '2.34435678977654336E17' in column '3' is outside valid range for the datatype INTEGER.
看到这一串数字直觉告诉我某个参数获取到的值太大了,
一查看,哈,果然
把model里错的那个参数的类型Integer改成Long就没事了
还有要注意一下model里的参数类型和数据库里对应表的参数的类型