java.sql.SQLException: 'NaN' is not a valid numeric or approximate numeric value

report.setWomanHeartRate(heartWomenRate/womanlist.size());


这是因为分母为零了  结果无穷大   所以报错 

猜你喜欢

转载自blog.csdn.net/yefan_/article/details/79246528