### Error querying database. Cause: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
### The error may exist in file [D:\lianfuproject\lf_car_life\target\classes\mapper\SysMapper.xml]
### The error may involve com.lianfu.lf_car_life.core.mapper.SysMapper.selectLfUserByOpenId
### The error occurred while handling results
### SQL: select phone from lf_user where openid=?
### Cause: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
查询数据库时候 sql语句运行正常 无法映射到实体类
原因: 实体类没有默认构造方法
实体类加上注解
或者自己手写构造方法 就解决了