Failed to convert property value of type 'java.lang.String' to required type 'double' for property '

实体类的基本数据类型一定要用它对应的包装类,int都知道用Integer,比如double就容易忘记,页面传递值的时候就会报错
Failed to convert property value of type 'java.lang.String' to required type 'double' for property 'cost'

猜你喜欢

转载自blog.csdn.net/qq_41340666/article/details/80983775