123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel;
- using EMIS.ViewModel.DegreeManage.DegreeSetting;
- namespace EMIS.CommonLogic.DegreeManage.DegreeSetting
- {
- public interface IDegreeConditionPackageServices
- {
- /// <summary>
- /// 查询对应的学位公式信息View(只查询学位公式信息,不查询学位公式对应的学位条件)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="isDefault"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DegreeConditionPackageView> GetDegreeConditionPackageViewGrid(ConfiguretView configuretView,
- int? isDefault, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学位公式信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="isDefault"></param>
- /// <returns></returns>
- List<DegreeConditionPackageView> GetDegreeConditionPackageViewList(ConfiguretView configuretView, int? isDefault);
- /// <summary>
- /// 根据学位公式ID查询对应的学位公式信息DegreeConditionPackageView
- /// </summary>
- /// <param name="DegreeConditionPackageID"></param>
- /// <returns></returns>
- DegreeConditionPackageView GetDegreeConditionPackageView(Guid? DegreeConditionPackageID);
- /// <summary>
- /// 根据学位公式ID查询对应的学位条件信息List
- /// </summary>
- /// <param name="DegreeConditionPackageID"></param>
- /// <returns></returns>
- List<DegreeConditionView> GetDegreeConditionList(Guid? DegreeConditionPackageID);
- /// <summary>
- /// 查询学位公式中未存在的学位条件信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="degreeConditionPackageID"></param>
- /// <param name="isCurrent"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DegreeConditionView> GetDegreeConditionNoViewGrid(ConfiguretView configuretView,
- Guid? degreeConditionPackageID, int? isCurrent, int pageIndex, int pageSize);
- /// <summary>
- /// 查询学位公式中未存在的学位条件信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="degreeConditionPackageID"></param>
- /// <param name="isCurrent"></param>
- /// <returns></returns>
- IList<DegreeConditionView> GetDegreeConditionNoViewList(ConfiguretView configuretView,
- Guid? degreeConditionPackageID, int? isCurrent);
- /// <summary>
- /// 编辑(新增、修改)
- /// 注:判断是否默认状态(同一种学生类别,只有一种默认公式)
- /// 暂时不考虑当公式被引用时,不可修改公式中条件的情况
- /// </summary>
- /// <param name="degreeConditionPackageView"></param>
- /// <param name="degreeConditionViewList"></param>
- void DegreeConditionPackageEdit(DegreeConditionPackageView degreeConditionPackageView,
- IList<DegreeConditionView> degreeConditionViewList);
- /// <summary>
- /// 删除(当对应的学位公式被引用时,不可删除--学位公式、对应的学位条件)
- /// </summary>
- /// <param name="DegreeConditionPackageIDList"></param>
- /// <returns></returns>
- bool DegreeConditionPackageDelete(List<Guid?> DegreeConditionPackageIDList);
- /// <summary>
- /// 根据学生类别查询对应的默认学位公式信息View(DegreeConditionPackageView)
- /// </summary>
- /// <param name="studentType"></param>
- /// <returns></returns>
- DegreeConditionPackageView GetDegreeConditionPackageIsDefaultView(int? studentType);
- }
- }
|