update 修正参数

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

@ -43,7 +43,7 @@ import static cn.teammodel.utils.SchoolDateUtil.calculateWeekNum;
public class TeacherServiceImpl implements TeacherService {
@Resource
private SchoolTeacherRepository schoolTeacherRepository;
@Resource
@Resource
private SchoolGroupListRepository schoolGroupListRepository;
@Resource
private SchoolRepository schoolRepository;

@ -18,8 +18,8 @@ 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(@subjectId) or c.subjectId = @subjectId) 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);

Loading…
Cancel
Save