Use:
((Long) userService.getAttendanceList(currentUser)).intValue();
instead.
The .intValue() method is defined in class Number, which Long extends.
Use:
((Long) userService.getAttendanceList(currentUser)).intValue();
instead.
The .intValue() method is defined in class Number, which Long extends.