using System; using System.Collections.Generic; using System.Text; using Song.Entities; using System.Data; namespace Song.ServiceInterfaces { /// /// 考试管理 /// public interface ITrPlan : WeiSha.Common.IBusinessInterface { #region 考试管理 /// /// 添加培训计划 /// /// 培训计划 /// 参加人员的范围 void TrpAdd(TrPlan theme, List groups); /// /// 修改培训计划 /// /// 培训计划 /// 原参与类型 /// 新参与类型 /// 参加人员的范围 void TrpSave(TrPlan theme, int yuanType, int newType, List groups); /// /// 删除培训计划,使用主键ID /// /// 主键ID void TrpDelete(int identify); /// /// 删除培训计划,使用页面唯一标识 /// /// 页面唯一标识 void TrpDelete(string uid); /// /// 获取单一实体对象,按主键ID; /// /// 实体的主键 /// TrPlan TrpSingle(int identify); /// /// 获取单一实体对象,通过全局唯一值 /// /// /// TrPlan TrpSingle(string uid); /// /// 判断指定的数据是否符合要求 /// /// 页面唯一标识 /// 院系id(为-1时不作为条件) /// 班组id(为-1时不作为条件) /// bool TrpJudge(string uid, int depId, int teamId); /// /// 获取指定分类和院系id以及班组id的所有培训计划 /// /// 分组类型(1:所有人;2:按院系;3:按班组;-1:符合院系或班组) /// 院系id,为-1时不加这个条件。 /// 班组id,为-1时不加这个条件。 /// TrPlan[] TrpItem(int groupType, int depId, int teamId); /// /// 获取符合条件的数据 /// /// 日期 /// 开始时间(时) /// 开始时间(分) /// 结束时间(时) /// 结束时间(分) /// 责任院系id /// 专业id /// 分组类型 /// 完成情况 /// 培训教师 /// 培训内容 /// 每页显示的条数 /// 当前页码 /// 符合条件的数据数量 /// TrPlan[] TrpItem(DateTime? timestall, DateTime? timeend, int? depId, int? sbjId, int? groupType, int? result, string teacher, string content, int size, int index, out int countSum); #endregion } }