|
|
@ -188,7 +188,7 @@ public class TeacherServiceImpl implements TeacherService {
|
|
|
|
long startTimestamp = startDatetime.toInstant(ZoneOffset.UTC).toEpochMilli();
|
|
|
|
long startTimestamp = startDatetime.toInstant(ZoneOffset.UTC).toEpochMilli();
|
|
|
|
long endTimestamp = endDatetime.toInstant(ZoneOffset.UTC).toEpochMilli();
|
|
|
|
long endTimestamp = endDatetime.toInstant(ZoneOffset.UTC).toEpochMilli();
|
|
|
|
|
|
|
|
|
|
|
|
List<LessonRecord> lessonRecords = lessonRecordRepository.getLessonsByConditions(String.format(PK.PK_LESSON_RECORD, teacherDto.getCode()), startTimestamp, endTimestamp, teacherDto.getTmdId());
|
|
|
|
List<LessonRecord> lessonRecords = lessonRecordRepository.getLessonsByConditions(String.format(PK.PK_LESSON_RECORD, teacherDto.getCode()), startTimestamp, endTimestamp, teacherDto.getSubjectId(),teacherDto.getTmdId());
|
|
|
|
int[] counts = {0, 0, 0, 0, 0};
|
|
|
|
int[] counts = {0, 0, 0, 0, 0};
|
|
|
|
String[] keys = {"cooperation", "internet", "task", "exam", "diffential"};
|
|
|
|
String[] keys = {"cooperation", "internet", "task", "exam", "diffential"};
|
|
|
|
|
|
|
|
|
|
|
|