update 修正参数

develop
hhb@hotmail.com 4 months ago
parent 3ce2cb9b75
commit c6b2b1c6b2

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

Loading…
Cancel
Save