There is no getter for property named ‘id’ in ‘class java.lang.String’ 将${id}改成#{id,jdbcType=VARCHAR} 因为在数据库中字段类型为VARCHARs