|
|
@ -77,10 +77,11 @@ public interface AppraiseRecordRepository extends CosmosRepository<AppraiseRecor
|
|
|
|
"c.academicYearId = @academicYearId and " +
|
|
|
|
"c.academicYearId = @academicYearId and " +
|
|
|
|
"(IS_NULL(@startTime) or n.createTime >= @startTime) and " +
|
|
|
|
"(IS_NULL(@startTime) or n.createTime >= @startTime) and " +
|
|
|
|
"(IS_NULL(@endTime) or n.createTime <= @endTime) and " +
|
|
|
|
"(IS_NULL(@endTime) or n.createTime <= @endTime) and " +
|
|
|
|
"c.classId in (@ids) and " +
|
|
|
|
"(IS_NULL(@typeName) or array_contains(n.appraiseNode.path ,@typeName)) and " +
|
|
|
|
"(IS_NULL(@typeName) or array_contains(n.appraiseNode.path ,@typeName)"
|
|
|
|
"c.classId in (@ids) "
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
List<RecordVo> latestRecords(String code, String academicYearId, Long startTime, Long endTime, Collection<String> ids,String typeName);
|
|
|
|
List<RecordVo> latestRecords(String code, String academicYearId, Long startTime, Long endTime,String typeName, Collection<String> ids);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|