1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- using YBEE.EQM.Core;
- namespace YBEE.EQM.Application;
- /// <summary>
- /// 监测教师任教科目管理服务
- /// </summary>
- public interface IExamTeacherCourseService
- {
- #region 批量导入
- /// <summary>
- /// 上传监测教师批量导入文件
- /// </summary>
- /// <param name="filePath"></param>
- /// <param name="examPlanId"></param>
- /// <returns></returns>
- Task<UploadExamDataOutput<UploadExamTeacherCourseOutput>> Upload(string filePath, int examPlanId);
- /// <summary>
- /// 批量导入监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Import(ImportExamTeacherCourseInput input);
- #endregion
- #region 批量导出
- /// <summary>
- /// 导出TQES导入文件格式文件包
- /// </summary>
- /// <param name="examPlanId"></param>
- /// <returns></returns>
- /// <exception cref="Exception"></exception>
- Task<(string, byte[])> ExportTqesFile(int examPlanId);
- #endregion
- #region 创建编辑
- /// <summary>
- /// 添加监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Add(AddExamTeacherCourseInput input);
- /// <summary>
- /// 更新监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Update(UpdateExamTeacherCourseInput input);
- /// <summary>
- /// 删除监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Del(BaseId input);
- /// <summary>
- /// 清空监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Clear(ClearExamTeacherCourseInput input);
- #endregion
- #region 查询统计
- /// <summary>
- /// 分页查询监测教师列表
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task<PageResult<ExamTeacherCourseOutput>> QueryPageList(ExamTeacherCoursePageInput input);
- #endregion
- }
|