版本:3.5.1

重现步骤

传入integer类型Id MyBatis-Plus mybatis-plus-boot-starter 3.5.1 版本,removeById方法,主键填充: argument type mismatch 在执行代码 tableInfo.setPropertyValue(instance, tableInfo.getKeyProperty(), id)时

values 填充失败

MyBatis-Plus mybatis-plus-boot-starter 3.5.1 版本,removeById方法,主键填充: argument type mismatch

报错信息

MyBatis-Plus mybatis-plus-boot-starter 3.5.1 版本,removeById方法,主键填充: argument type mismatch

由于不是最新版本,

Comment From: chansanya

问题经调试后解决,入参和属性类型不一致原因导致。

抱歉,打扰了!!!