using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bowin.Common.Linq.Entity;
using EMIS.ViewModel;
using EMIS.ViewModel.Students;
using EMIS.ViewModel.TeachingMaterial;
namespace EMIS.CommonLogic.TeachingMaterial
{
public interface IStudentDistributeServices
{
///
/// 查询学生征订记录
///
IGridResultSet GetStudentDistributeViewGrid(ViewModel.ConfiguretView configuretView, Guid? campusID,
Guid? collegeID, int? years, Guid? grademajorID, Guid? coursematerialID, int? courseCategoryID, Guid? teachingMaterialPoolID, int? isDistribute,
Guid? schoolyearID, int? standardID, int pageIndex, int pageSize);
///
/// 生成征订计划
///
///
void CreateStudentDistribute(Guid schoolyearID, Guid userID);
void ComfirmStudentDistribute(List studentDistributeID, Guid userID);
void DeleteStudentDistribute(List studentDistributeIDs);
void Save(List studentDistributeID, StudentDistributeView studentDistributeView);
///
/// 获取学生发放信息
///
///
IGridResultSet GetStudentViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
void SaveNotStudentDistribute(StudentDistributeView studentDistributeView, IList studentsList, Guid? userId);
//发放清单
void SaveStudentReleaseInventory(StudentDistributeView studentDistributeView, IList studentsList, Guid? userId);
//未发放清单
void SaveStudentUnpublishedInventory(StudentDistributeView studentDistributeView, IList studentsList, Guid? userId);
IList GetStudentDistributeByStudentViewList(Guid studentDistributeID);
StudentDistributeView GetSingleStudentDistribute(Guid studentDistributeID);
IList GetStudentDistributeViewList(ViewModel.ConfiguretView configuretView, Guid? campusID,
Guid? collegeID, int? years, Guid? grademajorID, Guid? coursematerialID, int? courseCategoryID, Guid? teachingMaterialPoolID, int? isDistribute, Guid? schoolyearID, int? standardID);
///
/// 获取未发放学生列表
///
///
IGridResultSet GetStudentDistributeByUserViewList(ViewModel.ConfiguretView configuretView,
Guid? campusID, Guid? collegeID, int? yearID, int? standardID, int? learningformID, Guid? classmajorID, int? IsGraduation, int? inSchoolStatusID, Guid? grademajorID, int pageIndex, int pageSize);
///
/// 发放清单列表
///
///
IGridResultSet GetStudentDistributeDetailViewList(Guid? studentDistributeID, int pageIndex, int pageSize);
///
///加载发放学生Excel导出
///
///
///
IList GetStudentDistributeDetailQuery(Guid? studentDistributeID);
}
}