123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel;
- using EMIS.ViewModel.TeachingMaterial;
- using System.Data;
- using EMIS.Entities;
- using EMIS.ViewModel.Cultureplan;
- namespace EMIS.CommonLogic.TeachingMaterial
- {
- public interface ITeachingMaterialPoolServices
- {
- /// <summary>
- /// 获取书库信息列表
- /// </summary>
- /// <param name="exp"></param>
- /// <returns></returns>
- IGridResultSet<TeachingMaterialPoolView> GetTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, bool? isLate, int? teachingMaterialType, int pageIndex, int pageSize);
- /// <summary>
- /// 编辑书库
- /// </summary>
- /// <param name="publisherView"></param>
- void EditTeachingMaterialPool(TeachingMaterialPoolView TeachingMaterialPoolView, Guid createUserID, IList<CoursematerialView> coursematerialList);
- /// <summary>
- /// 编辑教材库存
- /// </summary>
- /// <param name="TeachingMaterialPoolView"></param>
- /// <param name="createUserID"></param>
- void EditTeachingMateriaInventory(TeachingMaterialPoolView TeachingMaterialPoolView, Guid createUserID);
- /// <summary>
- /// 删除出版单位信息
- /// </summary>
- /// <param name="publishID"></param>
- void DeleteTeachingMaterialPool(List<Guid> TeachingMaterialPoolIDs);
- /// <summary>
- /// 获取书库单位
- /// </summary>
- /// <returns></returns>
- TeachingMaterialPoolView GetSingleTeachingMaterialPool(Guid TeachingMaterialPoolID);
- /// <summary>
- /// 获取书库信息列表导出
- /// </summary>
- /// <param name="exp"></param>
- /// <returns></returns>
- IList<TeachingMaterialPoolView> GetTeachingMaterialPoolViewExcel(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, bool? isLate, int? teachingMaterialType);
- List<CoursematerialView> GetTeachingMaterialCoursematerialList(Guid? teachingMaterialPoolID);
- /// <summary>
- /// 获取教材总库信息列表(用于学生征订)
- /// </summary>
- /// <param name="exp"></param>
- /// <returns></returns>
- IGridResultSet<TeachingMaterialPoolView> GetTeachingMaterialPoolForOrder(ConfiguretView configuretView, Guid? publishID, string isbn, Guid? coursematerialID, string teachingMaterialName, string ischeck, int pageIndex, int pageSize);
- /// <summary>
- /// 获取学生课程教材列表
- /// </summary>
- /// <param name="exp"></param>
- /// <returns></returns>
- IGridResultSet<StudentTeachingMaterialView> GetStudentTeachingMaterialViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
- IList<StudentTeachingMaterialView> GetStudentTeachingMaterialViewList(ConfiguretView configuretView);
- //验证编号是否存在
- bool IsExistCode(string code);
- //验证ISBN是否存在
- bool IsExistISBN(string ISBN);
- /// <summary>
- /// 教材信息导入
- /// </summary>
- /// <param name="dataList">导入的数据集合</param>
- /// <param name="errdataList">返回的操作失败集合</param>
- /// <param name="successCount">操作成功记录条数</param>
- /// <returns></returns>
- void TeachingMaterialPoolImport(Dictionary<string, string> cellheader, out int OkCount, out List<TeachingMaterialPoolImportView> errdataList, out int successCount, string sourcePhysicalPath);
- /// <summary>
- /// 获取教材最大的编号+1之后返回
- /// </summary>
- /// <returns></returns>
- string GetLastTeachingMaterialCode();
- }
- }
|