@@ -232,6 +232,9 @@ public class StudentExtracurricularExercisesSituation extends BaseEntity {
Object[] objs = { monday, studentId, teacherId, serveType };
int result = 1;
for (Object obj : objs) {
+ if(obj == null){
+ continue;
+ }
result = 31 * result + obj.hashCode();
}
return result;