mybatis-plus使用注意事项
要在实体类上添加注解,一定要对应到数据库表名
@TableName("USER_INFO") public class UserInfoDao implements Serializable { @TableId("ID") private String id; @TableField("USER_NAME") private String userName; @TableField("USER_PWD") private String userPwd; @TableField("REAL_NAME") private String realName; @TableField("CREATE_DATE") private LocalDateTime createDate; @TableField("REMARK") private String remark; @TableField("GENDER") private Integer gender; }