mybatis-plus 使用OneToOne 对象映射为空

Type handler was null on parameter mapping for property 'card'. It was either not specified and/or could not be found for the javaType (com.example.firstdemo.entity.IdCard) : jdbcType (null) combination.

看一下IdCard类中的card的数据类型,是不是没有定义啊.
如有帮助欢迎采纳!

1对1配置发出来