### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'] with root cause
java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'
我的数据库字段名是createTime 而生成的名字是create_time,不一致,只需在pojo类里面需要和数据库名字一致的私有属性上面加一个
@TableField("createTime")
就解决了