这个问题其实就是因为你的数据库里面设置的类型不能强转位NULL, 如果在model里面将基本数据类型换成包装类型就可以了. 比如 int ->Integer long ->Long String ->String
java- Null value was assigned to a property of primitive type setter of
这个问题其实就是因为你的数据库里面设置的类型不能强转位NULL, 如果在model里面将基本数据类型换成包装类型就可以了. 比如 int ->Integer long ->Long String ->String
java- Null value was assigned to a property of primitive type setter of