2025-06-06 14:57:20 +08:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using TGJ.NetworkFreight.SeckillAggregateServices.Pos.UserService;
|
|
|
|
|
using YD_WeChatApplet.Api;
|
|
|
|
|
using YD_WeChatApplet.Api.Entitys;
|
|
|
|
|
using YD_WeChatApplet.Commons;
|
|
|
|
|
using YD_WeChatApplet.Commons.Dto;
|
|
|
|
|
using YD_WeChatApplet.Commons.Dto.HomeWork;
|
2025-08-12 10:28:07 +08:00
|
|
|
|
using YD_WeChatApplet.Commons.Dto.Patriarch;
|
2025-06-06 14:57:20 +08:00
|
|
|
|
using YD_WeChatApplet.Commons.Dto.School;
|
|
|
|
|
|
|
|
|
|
namespace YD_WeChatApplet.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IHomeWorkService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新建作业
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="paramDto"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task AddHomeWork(AddHomeWorkDto paramDto);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 作业记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto"></param>
|
|
|
|
|
/// <returns></returns>
|
2025-08-12 10:28:07 +08:00
|
|
|
|
Task<PageDataDto<HomeWorkRecordDto>> HomeWorkRecordByTeacher(PatriarchHomeWorkHistoryDto dto);
|
2025-06-06 14:57:20 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 作业详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="homeWorkId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<HomeWorkDetailsDto> HomeWorkDetailsByTeacher(int homeWorkId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 作业项目列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<List<CategoryDto>> HomeWorkCategoryList();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 星期列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<List<ComboBoxDto>> WeekList();
|
|
|
|
|
}
|
|
|
|
|
}
|