1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.Cultureplan;
- using EMIS.ViewModel;
- using EMIS.Entities;
- namespace EMIS.CommonLogic.Cultureplan
- {
- public interface ICoursematerialServices
- {
- /// <summary>
- /// 查询课程信息CoursematerialView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="courseLevelID"></param>
- /// <param name="courseScienceID"></param>
- /// <param name="classGroupingID"></param>
- /// <param name="isEnable"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<CoursematerialView> GetCoursematerialViewGrid(ConfiguretView configuretView, int? courseLevelID, int? courseScienceID,
- Guid? classGroupingID, int? isEnable, int pageIndex, int pageSize);
- /// <summary>
- /// 查询课程信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="courseLevelID"></param>
- /// <param name="courseScienceID"></param>
- /// <param name="classGroupingID"></param>
- /// <param name="isEnable"></param>
- /// <returns></returns>
- IList<CoursematerialView> GetCoursematerialViewList(ConfiguretView configuretView, int? courseLevelID, int? courseScienceID,
- Guid? classGroupingID, int? isEnable);
- /// <summary>
- /// 查询课程信息CoursematerialView(启用状态为是或已使用的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="isEnable"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<CoursematerialView> GetEnableAndUseCoursematerialViewGrid(ConfiguretView configuretView, Guid? coursematerialID,
- int? isEnable, int pageIndex, int pageSize);
- /// <summary>
- /// 查询课程信息List(启用状态为是或已使用的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="isEnable"></param>
- /// <returns></returns>
- IList<CoursematerialView> GetEnableAndUseCoursematerialViewList(ConfiguretView configuretView, Guid? coursematerialID, int? isEnable);
- /// <summary>
- /// 查询对应的课程信息CoursematerialView
- /// </summary>
- /// <param name="coursematerialID"></param>
- /// <returns></returns>
- CoursematerialView GetCoursematerialView(Guid? coursematerialID);
- /// <summary>
- /// 编辑(新增、修改)
- /// 注:个性化配置(课程名称重复,默认课程代码或课程名称唯一)
- /// </summary>
- /// <param name="coursematerialView"></param>
- void CoursematerialEdit(CoursematerialView coursematerialView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="coursematerialIDs">课程资料ID</param>
- /// <returns></returns>
- bool CoursematerialDelete(List<Guid?> coursematerialIDs);
- /// <summary>
- /// 课程信息导入(个性化配置-课程名称重复)
- /// 注:默认课程代码或课程名称唯一
- /// </summary>
- /// <param name="cellheader"></param>
- /// <param name="inCount"></param>
- /// <param name="upCount"></param>
- /// <param name="errdataList"></param>
- /// <param name="errCount"></param>
- /// <param name="sourcePhysicalPath"></param>
- void CoursematerialImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<CoursematerialView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|