123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.GraduationManage.GraduationSetting;
- using EMIS.ViewModel;
- using EMIS.Entities;
- namespace EMIS.CommonLogic.GraduationManage.GraduationSetting
- {
- public interface IGraduationConditionPackageServices
- {
- /// <summary>
- /// 查询对应的毕业公式信息View(只查询毕业公式信息,不查询毕业公式对应的毕业条件)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="isDefault"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<GraduationConditionPackageView> GetGradConditionPackageViewGrid(ConfiguretView configuretView, int? isDefault, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的毕业公式信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="isDefault"></param>
- /// <returns></returns>
- List<GraduationConditionPackageView> GetGradConditionPackageViewList(ConfiguretView configuretView, int? isDefault);
- /// <summary>
- /// 根据毕业公式ID查询对应的毕业公式信息GraduationConditionPackageView
- /// </summary>
- /// <param name="GraduationConditionPackageID"></param>
- /// <returns></returns>
- GraduationConditionPackageView GetGraduationConditionPackageView(Guid? GraduationConditionPackageID);
- /// <summary>
- /// 根据毕业公式ID查询对应的毕业条件信息List
- /// </summary>
- /// <param name="GraduationConditionPackageID"></param>
- /// <returns></returns>
- List<GraduationConditionView> GetGraduationConditionList(Guid? GraduationConditionPackageID);
- /// <summary>
- /// 查询毕业公式中未存在的毕业条件信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="graduationConditionPackageID"></param>
- /// <param name="isCurrent"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<GraduationConditionView> GetGraduationConditionNoViewGrid(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent, int pageIndex, int pageSize);
- /// <summary>
- /// 查询毕业公式中未存在的毕业条件信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="graduationConditionPackageID"></param>
- /// <param name="isCurrent"></param>
- /// <returns></returns>
- IList<GraduationConditionView> GetGraduationConditionNoViewList(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent);
- /// <summary>
- /// 编辑(新增、修改)
- /// 注:判断是否默认状态(同一种学生类别,只有一种默认公式)
- /// 暂时不考虑当公式被引用时,不可修改公式中条件的情况
- /// </summary>
- /// <param name="graduationConditionPackageView"></param>
- /// <param name="graduationConditionViewList"></param>
- void GraduationConditionPackageEdit(GraduationConditionPackageView graduationConditionPackageView, IList<GraduationConditionView> graduationConditionViewList);
- /// <summary>
- /// 删除(当对应的毕业公式被引用时,不可删除--毕业公式、对应的毕业条件)
- /// </summary>
- /// <param name="graduationConditionPackageIDs"></param>
- /// <returns></returns>
- bool GraduationConditionPackageDelete(List<Guid?> graduationConditionPackageIDs);
- /// <summary>
- /// 根据学生类别查询对应的默认毕业公式信息View(GraduationConditionPackageView)
- /// </summary>
- /// <param name="studentType"></param>
- /// <returns></returns>
- GraduationConditionPackageView GetGradConditionPackageIsDefaultView(int? studentType);
- }
- }
|