There is no getter for property named ‘id‘ in ‘class java.lang.Integer‘

在这里插入图片描述
在mapper接口中修改

CustomerInfo getCustomerInfoStoreIdById(int id);

修改为

CustomerInfo getCustomerInfoStoreIdById(@Param("id") int id);

猜你喜欢

转载自blog.csdn.net/weixin_42119415/article/details/110119425