There is no getter for property named ‘null‘ in ‘class com.xxxxx‘
项目场景:在mybatis-plus中使用updateById时会报There is no getter for property named ‘null’ in这个错误问题描述:原因分析:原因是因为没有在JAVA文件中添加主键解决方案:@Datapublic class Carts { @TableId private Integer cartId; private Integer num,commId; private String imageSrc