| | |
| | | import com.qxueyou.scc.exercise.model.ExerciseCompleteInfo; |
| | | |
| | | /** |
| | | * 作业完成信息类 |
| | | * 作业完成信息类 |
| | | * |
| | | * @author kevin |
| | | * @createTime 2018-03-11 |
| | |
| | | public interface IExerciseCompleteService { |
| | | |
| | | /** |
| | | * 新增作业完成信息 |
| | | * 新增作业完成信息 |
| | | * |
| | | * @param exerciseCompleteInfo |
| | | * |
| | | * @return 新增考试ID |
| | | * @return 新增考试ID |
| | | */ |
| | | String addExerciseComplete(ExerciseCompleteInfo exerciseCompleteInfo); |
| | | |
| | | /** |
| | | * 删除作业完成信息 |
| | | * 删除作业完成信息 |
| | | * |
| | | * @param elxamIds |
| | | * 作业完成信息ID |
| | | * 作业完成信息ID |
| | | * @return |
| | | */ |
| | | Result deleteExerciseComplete(String[] exerciseCompleteIds); |
| | | |
| | | /** |
| | | * 更新作业完成信息 |
| | | * 更新作业完成信息 |
| | | * |
| | | * @param noticeId |
| | | * 作业信息id |
| | | * 作业信息id |
| | | * @return |
| | | */ |
| | | Result updateExerciseComplete(ExerciseCompleteInfo exerciseCompleteInfo); |
| | | |
| | | /** |
| | | * 作业id 查询作业详情 |
| | | * 作业id 查询作业详情 |
| | | * @param exerciseCompleteId |
| | | * @return |
| | | */ |
| | | ExerciseCompleteInfo queryExerciseCompleteDetail(String exerciseCompleteId); |
| | | |
| | | /** |
| | | * 检查并初始化学生完成情况信息 |
| | | * 检查并初始化学生完成情况信息 |
| | | * @param exerciseInfoId |
| | | * @param classId |
| | | * @param userId |
| | |
| | | ExerciseCompleteInfo doCheckAndCreateExerciseCompleteInfo(String exerciseInfoId, String classId,String studentUserId); |
| | | |
| | | /** |
| | | * 后台查询作业列表 |
| | | * 后台查询作业列表 |
| | | * @param keyword |
| | | * @param exerciseInfoId |
| | | * @param status |
| | |
| | | int listCount(String keyword, String exerciseInfoId, Short status); |
| | | |
| | | /** |
| | | * 后台查询作业列表 |
| | | * 后台查询作业列表 |
| | | * @param keyword |
| | | * @param exerciseInfoId |
| | | * @param status |
| | |
| | | List<ExerciseCompleteInfo> list(String keyword, String exerciseInfoId, Short status, Integer pageSize, Integer pageNum); |
| | | |
| | | /** |
| | | * 根据作业ID,班级ID,学生ID,查询作业完成情况 |
| | | * 根据作业ID,班级ID,学生ID,查询作业完成情况 |
| | | * @param exerciseInfoId |
| | | * @param classId |
| | | * @param studentUserId |