@TableField("`condition`")
@ApiModelProperty(name = "condition" , value = "经验要求")
private String condition;@TableField("`type`")
@ApiModelProperty(name = "type" , value = "任职方式")
private String type;
老师我用@TablleField注解解决了condition type 是mysql的关键字
这是我用条件构造器生成的错误信息和sql
Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition,education,type,address,eid,createtime,state,url,label,content1,content' at line 1
### SQL: SELECT id,jobname,salary,condition,education,type,address,eid,createtime,state,url,label,content1,content2 FROM tb_recruit