|
|
|
@ -18,7 +18,7 @@ public interface LessonRecordRepository extends CosmosRepository<LessonRecord, S
|
|
|
|
|
"(IS_NULL(@endTime) or c.startTime <= @endTime) and "+
|
|
|
|
|
"(IS_NULL(@grade) or array_contains(c.grade,@grade)) and " +
|
|
|
|
|
"c.status<>404 and "+
|
|
|
|
|
"c.periodId = @periodId and "+
|
|
|
|
|
"(IS_NULL(@periodId) or c.periodId = @periodId) and "+
|
|
|
|
|
"(IS_NULL(@subjectId) or c.subjectId = @subjectId) and "+
|
|
|
|
|
"(IS_NULL(@tmdId) or c.tmdid = @tmdId) ")
|
|
|
|
|
List<LessonRecord> getLessonsByConditions(String code, Long startTime, Long endTime,String subjectId,String tmdId,String grade,String periodId);
|
|
|
|
|