Mybatis 解决数据库字段名和实体类属性名不一致问题
一、问题描述1.1 查询 password 字段为 null 现象数据库字段名:实体类属性名:@Data@NoArgsConstructor@AllArgsConstructorpublic class User { private int id; private String name; private String password;}Mapper 层:public interface UserMapper { //查询全部用户 List&l