12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- using YBEE.EQM.Core;
- namespace YBEE.EQM.Application;
- /// <summary>
- /// 监测教师管理服务
- /// </summary>
- public interface IExamTeacherService
- {
- #region 批量导入
- /// <summary>
- /// 上传监测教师批量导入文件
- /// </summary>
- /// <param name="filePath"></param>
- /// <param name="examPlanId"></param>
- /// <returns></returns>
- Task<UploadExamDataOutput<UploadExamTeacherOutput>> Upload(string filePath, int examPlanId);
- /// <summary>
- /// 批量导入监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Import(ImportExamTeacherInput input);
- #endregion
- #region 创建编辑
- /// <summary>
- /// 添加监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Add(AddExamTeacherInput input);
- /// <summary>
- /// 更新监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Update(UpdateExamTeacherInput input);
- /// <summary>
- /// 删除监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Del(BaseId input);
- /// <summary>
- /// 清空监测教师
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task Clear(ClearExamTeacherInput input);
- #endregion
- #region 查询统计
- /// <summary>
- /// 分页查询监测教师列表
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task<PageResult<ExamTeacherOutput>> QueryPageList(ExamTeacherPageInput input);
- #endregion
- }
|