|
@@ -2,6 +2,7 @@ package com.ym.mec.biz.dal.dao;
|
|
|
|
|
|
import com.ym.mec.biz.dal.entity.ExtracurricularExercises;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -11,4 +12,15 @@ public interface ExtracurricularExercisesDao extends BaseDAO<Long, Extracurricul
|
|
|
int countExtraExercises(Map<String, Object> params);
|
|
|
List<ExtracurricularExercises> findExtraExercises(Map<String, Object> params);
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询同一个老师对同一批学员布置相同作业的最新记录
|
|
|
+ * @param teacherId
|
|
|
+ * @param studentIdList
|
|
|
+ * @param content
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ ExtracurricularExercises findRepeatLastExercises(@Param("teacherId") Integer teacherId,
|
|
|
+ @Param("studentIdList") String studentIdList,
|
|
|
+ @Param("content") String content);
|
|
|
+
|
|
|
}
|