Null value was assigned to a property of primitive type setter of com.oa.manager.personnel.bean.KqAttendanceHoliday.dayType

 问题:

解决方法:依据提示,把 int 修改为Integer解决。

总结:

javaBean最好不要使用基本类型(记得某规范说过,具体不记得了,估计就是预防这样的问题吧)

原文地址:https://www.cnblogs.com/limingxian537423/p/8431864.html