new Field("checkupShedule", "", Field.OPERATOR_IS_NULL),
};
List list = findEntityList(Checkup.class, field);
Iterator i = list.iterator();
while(i.hasNext()) {
Checkup j = (Checkup) i.next();
res.add(j.getDetails((RightChecker) this));
}
//расписание просрочено
Date current = new Date();
current = DateTimeUtils.getDateOnly(current);
Field[] field1 = {
new Field("serviceRender.renderedDate", "", Field.OPERATOR_IS_NULL),
new Field("serviceRender.functions", "", Field.OPERATOR_IS_NULL),
new Field("serviceRender.cancelled", false),
new Field("checkupType.isAnalyse", true),
new Field("checkupShedule.date", current, Field.OPERATOR_LESS)
};
list = findEntityList(Checkup.class, field1);
i = list.iterator();
while(i.hasNext()) {
Checkup j = (Checkup) i.next();
res.add(j.getDetails((RightChecker) this));
}
return res;
}