修改数据库中的内容报错:PropertyAccessException:Null value was assinged to a property of primitive type setter of 错误原因:totalTime的类型为int,数据库中为NULL,int 类型不能赋值为NULL,只能为0,所以报此异常。 解决方案:将totalTime的类型改为Integer,或者初始化为0